Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.
variable assignment: how-to ?
Name: jazzy Date: July 24, 2003 at 17:19:36 Pacific OS: windows 2000 CPU/Ram: not sure
Comment:
hi,
i have a file, raspwd.txt, with only one line containing one phrase. i would like to know how do i assign the content of this file to a variable in a batch file.
Summary: Hello, I know how to assign values to variables. its... Set variable=10 ... It will give variable a value of 10 but my question is this... Say I have a text file that contains a text "Hello World",...
Summary: hi, would you please show me how to write a command in a batch file to find a directory, e.g., wwwroot, in any disk drive, then assign the full path name to a variable. tia, jazzy ...
Summary: Does anyone know how to store the system date and time in a variable? I do this type of thing all the time in Unix Scripting but I'm having a hard time figuring it out in DOS Scripting. Thanks!...