When I (as member of the Administrators group) enter at the Command Prompt "nbtstat -n" it works.
When I put the same command into a batch script "C:\Users\ps\Desktop\test.bat" (=a file on my Desktop) and run it
it works.
When I copy/move this batch script file to any other directory on partition C: or D: and execute it by double click it fails with the notification:
'nbtstat' is not recognized as an internal or external command,
operable program or batch file.
Why?
I guess this has something to do with permissions.
When I put the same command into a batch script "C:\Users\ps\Desktop\test.bat" (=a file on my Desktop) and run it
it works.
When I copy/move this batch script file to any other directory on partition C: or D: and execute it by double click it fails with the notification:
'nbtstat' is not recognized as an internal or external command,
operable program or batch file.
Why?
I guess this has something to do with permissions.
My Computer
At a glance
win7pro 64bit
- Computer type
- PC/Desktop
- OS
- win7pro 64bit