Closed amymor closed 2 years ago
I'm sorry but I don't think I am going to add this due to the problem with the working directory. Any scripts that aren't related to atlas, that also utilize the working directory, will break without that workaround. I just don't see that as a good trade-off, hope you understand.
title says it all. as far as i know this bug is related to Microsoft. but it would be great if you fix it in Atlas.
here is the fix script:
just
%SystemRoot%\System32\cmd.exe /C "%1" %*
changed to%SystemRoot%\System32\cmd.exe /C ""%1" %*"
the only downside is that the working directory will be changed from current to system32 in batch file. but its better than not having access to administrator privileges and also working directory can be set in batch easily, even to make batch programming easier, i created a batch template and placed it in new menu. so my batch always opens in current directory, also it runs itself as administrator by using nsudo. here is my template:
without explanation: