| Thread | Last Post | Replies |
|
| how to pass commandline arguments that with blank space to a batch file? | 22 Jun 2008 01:08 GMT | 20 |
i need to pass a folder path to a batch file ,as we know it may contains blank space. at first i thought maybe i could add quote around the arguments, but it proved to be failed.
|
| why can't i get variable value? | 20 Jun 2008 06:36 GMT | 12 |
i have a file called "IsPathRelative.bat". it's usage like : IsPathRelative.bat yourpath, it'll set IsPathRelative=True if the path i passed in is a relativepath(not very accurate,but works for me) else set IsPathRelative=False
|
| how to write embeded if statement | 20 Jun 2008 06:13 GMT | 4 |
i have written something like: if not (%1) == () ( if not %1 == "" (set SENDER=%1)) but it doesn't work, it's invalid if statement
|
| Detect Restart from Hybernate or Stand By | 18 Jun 2008 03:06 GMT | 3 |
Is there a way to detect restarting from hybernate or stand by states that I could use to run batch files? My laptop has a mouse touchpad controller applet that puts an icon into the system tray. I'm in the habit of hiding that icon whenever it
|
| DOS Prompt | 03 Jun 2008 09:16 GMT | 20 |
I am trying to write a batch file to strip the leading characters from the name of all files in a directory - leaving the second part of the file name. I have tried using 'rename' but cannot get it to work.
|