Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: environment variable system variable path
I want to incorporate the system variable (windir) which points to each machines NT directory. Something like LOC1="%windir%\system32\loader.dll". But I haven't been able to get this yet. How can I incorporate a system variable into a regular variable assignment? Anyone with any ideas?
mywindir=Environment("windir") if mywindir=="" then mywindir=DirWindows(0) if strsub(mywindir,strlen(mywindir),1)!="\" mywindir=strcat(mywindir,"\") endif LOC1=strcat(mywindir,"system32\loader.dll")
Article ID: W12911
Filename: Assigning a System Variable to a Path.txt
File Created: 1999:04:15:16:50:28
Last Updated: 1999:04:15:16:50:28