G
Guest
In my system environment variables the "path" is set to %SystemRoot%\system32;%SystemRoot% immediately followed by a series of user defined paths at the end.
The problem is that when I call certain batch files from old Cobol EXEs, the path seems to get truncated (i echoed the path to a text file during the code run). The batch file also is losing sight of the \winnt\system32 directory, eventhough it is the first value within the "path" variable.
There is no path set in the autoexec.nt or autoexec.bat, and eventhough I did try different permutations of using these along with the environment variable, it didn't make any difference.
Moving the %SystemRoot%\system32;%SystemRoot% to the end of the variable (i.e. after the user defined path rather than at the beginning) seems to relocate the system directories, but the path is still being truncated.
Can somebody tell me is there any way of extending the space for the environment variable / is this a known problem / what is going on etc?
Thanks
Mike
The problem is that when I call certain batch files from old Cobol EXEs, the path seems to get truncated (i echoed the path to a text file during the code run). The batch file also is losing sight of the \winnt\system32 directory, eventhough it is the first value within the "path" variable.
There is no path set in the autoexec.nt or autoexec.bat, and eventhough I did try different permutations of using these along with the environment variable, it didn't make any difference.
Moving the %SystemRoot%\system32;%SystemRoot% to the end of the variable (i.e. after the user defined path rather than at the beginning) seems to relocate the system directories, but the path is still being truncated.
Can somebody tell me is there any way of extending the space for the environment variable / is this a known problem / what is going on etc?
Thanks
Mike