- Messages
- 1,361
- Country
RFA - OS - Windows 8 - Command Processor - Test context of -
Hi Folks
Do you have Windows 8 ?
If so I'd appreciate your assistance.
Background -
Whilst attempting to upgrade a set of batch files to 'Windows 10' compatibility
I came across a change in the Command Processor's behaviour
from at least 'Windows 7', and all prior OS versions.
Previously, any batch file ran in the context of it's containing folder.
'Windows 10' runs any batch file in the context of C:\Windows\System32\.
Request -
I need to know how Windows 8 behaves.
Would some kind 'Windows 8' users, (both 8.0 and 8.1),
please -
- Download the attached ZIP.
- Extract to the root of their C drive.
- Run the batch file, TestBatchContext.bat, (N.B. right-click 'Run as admin')
- Upload the resulting log file in your reply.
N.B.
You might have to 'unblock' the downloaded zip.
TestBatchContext doesn't do anything nasty,
just reads the current folder path, its context, and your OS version number.
Many thanks
Paul Donnelly
Hi Folks
Do you have Windows 8 ?
If so I'd appreciate your assistance.
Background -
Whilst attempting to upgrade a set of batch files to 'Windows 10' compatibility
I came across a change in the Command Processor's behaviour
from at least 'Windows 7', and all prior OS versions.
Previously, any batch file ran in the context of it's containing folder.
'Windows 10' runs any batch file in the context of C:\Windows\System32\.
Request -
I need to know how Windows 8 behaves.
Would some kind 'Windows 8' users, (both 8.0 and 8.1),
please -
- Download the attached ZIP.
- Extract to the root of their C drive.
- Run the batch file, TestBatchContext.bat, (N.B. right-click 'Run as admin')
- Upload the resulting log file in your reply.
N.B.
You might have to 'unblock' the downloaded zip.
TestBatchContext doesn't do anything nasty,
just reads the current folder path, its context, and your OS version number.
Many thanks
Paul Donnelly
Attachments
Last edited: