Search found 7 matches
- 06 Nov 2009 14:08
- Forum: DOS Batch Forum
- Topic: Is Hacking Fun?
- Replies: 4
- Views: 6689
- 03 Mar 2009 03:27
- Forum: DOS Batch Forum
- Topic: how to attach a .bat to a jpg
- Replies: 2
- Views: 5477
- 13 Jan 2009 15:59
- Forum: DOS Batch Forum
- Topic: using .bat to search the folder and compres files into zip.
- Replies: 11
- Views: 13669
- 13 Jan 2009 01:34
- Forum: DOS Batch Forum
- Topic: If statement problem
- Replies: 1
- Views: 5365
If statement problem
I just figured out that it's some strange with this... This works as long you don't use spaces or like semicolon etc in the variable. Then the batch crash and I don't know why... @echo off Set /p connect=Users IP Address/computername: IF /i %connect%==end ( GOTO END ) ELSE ( echo %connec...
- 12 Jan 2009 18:46
- Forum: DOS Batch Forum
- Topic: Variable Question
- Replies: 4
- Views: 8476
- 11 Jan 2009 16:38
- Forum: DOS Batch Forum
- Topic: Variable Question
- Replies: 4
- Views: 8476
jeb wrote:Hi Cander,
try this for indirect variable accessCode: Select all
set connect1=1243
set str=connect1
call set value=%%%str%%%
echo %value%
jeb
hmm. The idea here was to get the connect1's variable value "1243" into the variable value?
What does the triple %%% do? Why the call?
- 01 Jan 2009 16:13
- Forum: DOS Batch Forum
- Topic: Variable Question
- Replies: 4
- Views: 8476
Variable Question
Hello, Was making a batch and ended up with a little problem. If you for example got the following: Set HelloThere1=something Set HelloThere2=something Set HelloThere3=something Set B=Hello Set C=There1 (Just to describe easy. In my case variable B and C is diffrent everytime) Is there then anyway t...