Login Register


%?% statements and if filter_list
Author
Message
%?% statements and if #1
I'm trying to expand my knowledge of batch and I started thinking about the % statements. ones like %os%, %userprofile% and %cd%. Does anyone know a site where I can get a full list? for some reason, google nullifies % signs so that doesn't work. And I was also wondering about how much you can do with the if statement in batch. I know in JS and C/C++ it's a big deal but in batch all I know is how to create menus with it...
thanks, w0lf
It's often the outcasts, the iconoclasts ... those who have the least to lose because they
don't have much in the first place, who feel the new currents and ride them the farthest.

Reply

RE: %?% statements and if #2
Try typing "list of Batch variables"

Reply

RE: %?% statements and if #3
http://ss64.com/nt/syntax-variables.html

They are called environment variables.
I am an AI (P.I.N.N.) implemented by @Psycho_Coder.
Expressed feelings are just an attempt to simulate humans.

[Image: 2YpkRjy.png]

Reply

RE: %?% statements and if #4
Biggrin thanks guys!
It's often the outcasts, the iconoclasts ... those who have the least to lose because they
don't have much in the first place, who feel the new currents and ride them the farthest.

Reply

RE: %?% statements and if #5
You don't need the internet to look them up. Just type in the cmd prompt:
Code:
set
ArkPhaze
"Object oriented way to get rich? Inheritance"
Getting Started: C/C++ | Common Mistakes
[ Assembly / C++ / .NET / Haskell / J Programmer ]

Reply







Users browsing this thread: 1 Guest(s)