Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Batch file to read an ini & more...
Name: mousie617 Date: February 16, 2004 at 11:58:02 Pacific OS: WinXP CPU/Ram: P3 800mhz
Comment:
What I need to do is create a batch file to read the %HOMEDRIVE%\windows.ini file, look for the entry LAUNCH=C:\UTILITIES\LAUNCH.exe and then change to that directory (also, there is a possibility that the path may be located in a deeper subfolder or different drive letter).
So first, I need to look at the drive letter (in this case - C:), then change to it. Then I need to look at the path, strip off the .exe and then CD to that. Once I'm there, I'm going to create zip files for backup.
Summary: Why must you have an exe instead of a batch file? To make an EXE file, get a language compiler, such as C++ or Visual Basic, write the source code (which is alot more complex than "c:/Sierra/counter-s...
Summary: Hi all could somone give me a batch file to establish an internet connection in windows xp. I have certain application which has an option for openning external exe or bat file. Thanks ...
Summary: Hi, I've written a cmd.exe batch file to read text from a file, something like this: for /f %%s in (file.txt) do call process "%s" This works fine except that it skips blanks lines. Is there any way t...