Hello,
I've got a perl script installing some software. it has to change folder various time and at end, get back at the one in which we launched the script.
we don't know which folder it is because it is launched by a deployment tools and may be on different drives on different machines.
How can this be done ??? it's on Windows environment (nt4).
I'ven't find any solution yet except launching "exec cd >file.txt" and assign it to $path
i the try to get the value of it but... it's like... s:\temp.
but whe i make chdir($path) of course, it doesn't work...as it consider \t as a tab...
Hope someone can help a newbie
I've got a perl script installing some software. it has to change folder various time and at end, get back at the one in which we launched the script.
we don't know which folder it is because it is launched by a deployment tools and may be on different drives on different machines.
How can this be done ??? it's on Windows environment (nt4).
I'ven't find any solution yet except launching "exec cd >file.txt" and assign it to $path
i the try to get the value of it but... it's like... s:\temp.
but whe i make chdir($path) of course, it doesn't work...as it consider \t as a tab...
Hope someone can help a newbie