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.
MS-DOS batch "set" command in NT?
Name: Mats Bjur Date: February 21, 2000 at 00:09:05 Pacific
Comment:
Hi!
I have a small MS-DOS batch file for a template update which works just fine for Win9x. But whenever I use a "set" command in the batch (for example set "offpath=C:\Program Files\MsOffice\") and run it under WinNT, I get the error message "out of enviroment space". I've tried to raise the memory settings via a PIF-file, but it doesn't work! Please help!
Summary: Dos commands in NT are the same as DOS commands in win9x, save for a few NT specific command line features/programs. You should go to a book store and buy Norton's guide to DOS, or some similar book....
Summary: Hi! How can I make my IF command in NT run? I am using this structure in my batch file: if (%opc%)==(1) goto label001 However, when I execute the batch, it skips the if command... While executing unde...
Summary: I am moving from a PC Dos to NT server machine. We currently use the %SETDIR% option in our Dos Bat jobs. Is there a command that will do the same in NT? Here is an example: CALL SETDIR SET FILE01=...