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 Files and path
Name: lumberingox Date: July 5, 2007 at 15:34:39 Pacific OS: Freedos 1.0 CPU/Ram: Pent 166 Product: toshiba
Comment:
I was going to set up a directory for batch files. If I wish to add this to my path statement in autoexec, can I just add it to the end of the current path, or should I add another path. How do I separate the directories in the path statements if they are in one line.
Name: Mechanix2Go Date: July 5, 2007 at 17:21:13 Pacific
Reply:
Only ONE path.
Directories separated by semicolon. [;]
path=c:\util;c:\tc\bin;c:\QB45;
===================================== If at first you don't succeed, you're about average.
M2
0
Response Number 2
Name: Dan Penny Date: July 18, 2007 at 22:13:20 Pacific
Reply:
To add, the path statement has a max length of 127 characters. If you need more, add a new path statement which starts; path %path%;
EXAMPLE ======= PATH C:\WINDOWS;C:\WINDOWS\COMMAND;\;C:\WINDOWS\SYSTEM;D:;D:\COMMAND;D:\BATCH;D:\GHOST;D:\TOOLBOX;E:;F:\PKWARE;C:\WINDOWS\SYSTEM\WBEM :: path %path%;G:\WIN98RK;D:\98SE\TOOLS\OLDMSDOS\
The %path% incorporates the full "old" path into the "new" path statement.
NOTE; Keep in mind these forums will truncate things like the above, but you should get the idea.
It's a good day when you learn something
0
Response Number 3
Name: Mechanix2Go Date: July 19, 2007 at 00:45:25 Pacific
Reply:
Hi Dan,
Looks like it did NOT get truncated. Did you paste that in?
===================================== If at first you don't succeed, you're about average.
M2
0
Response Number 4
Name: Dan Penny Date: July 19, 2007 at 10:22:23 Pacific
Reply:
Hi M2G.
Yes, pasted. I've seen some posts go in fully, but I figured this one would get wrapped. Well, actually, it did. The line following the space after the first "PATH" word was dropped to a second line. It's a good day when you learn something
Summary: Is it possible to find the system memory from a batch file? and use that information in the batch file to brach to different operations? Great help ... this forum rocks. :) ...
Summary: I have integrated CheckSum in a batch file, what i need is to read the message created by the CheckSum in the batch file and write it to a text file. Any ideas???? Thank you for your time and consider...
Summary: In your batch for parsing the current date and time into multiple variables, I tried to add a command for renaming a file by your suggested command REN FILENAME.EXT %DATE%%MONTH%YEAR%--%HRS%%MIN%.DAT....