64-bit not running batch files/Path environment

fiat

New member
Local time
8:21 PM
Messages
2
Greetings to all fellow Win 7ers (this is my first post...)

I recently got a new laptop running Win 7 Pro 64-bit and as part of my initial third-party software installations I inadvertently overwrote the 'Path' environment variable (instead of appending to it). I subsequently tried adding c:\windows\system32; to it but don't know if this is doing anything. I have not managed to find any definitive information on what the Path ev should be on a new win7 64-bit install.

The thing is I loaded a batch process which I had on another Win 7 (32-bit) system but when I key the bat filename in cmd.exe (without the extension or double-click it) I get this error:

"The syntax of the command is incorrect."

If I key the bat filename with the extension, it runs but then stops because it seems not to recognize another program which the bat file calls even though I have the Path ev set for that program.

Anyone know what might be going on?

Thanks
 

My Computer

Computer Manufacturer/Model Number
Lenovo Thinkpad T410
OS
Windows 7 Professional 64-bit
CPU
i7-620M
Motherboard
??
Memory
8 GB
Greetings to all fellow Win 7ers (this is my first post...)

I recently got a new laptop running Win 7 Pro 64-bit and as part of my initial third-party software installations I inadvertently overwrote the 'Path' environment variable (instead of appending to it). I subsequently tried adding c:\windows\system32; to it but don't know if this is doing anything. I have not managed to find any definitive information on what the Path ev should be on a new win7 64-bit install.

The thing is I loaded a batch process which I had on another Win 7 (32-bit) system but when I key the bat filename in cmd.exe (without the extension or double-click it) I get this error:

"The syntax of the command is incorrect."

If I key the bat filename with the extension, it runs but then stops because it seems not to recognize another program which the bat file calls even though I have the Path ev set for that program.

Anyone know what might be going on?

Thanks
Try 'C:\Windows\SysWOW64' instead of 'c:\windows\system32'
Note that if that software uses 32-bit drivers it won't work on 64-bit
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 10 Pro x64, Arch Linux
CPU
Intel Core 2 Quad Q8200 OC'd 3.08GHz
Motherboard
Asus Rampage formula LGA775
Memory
8GB DDR2 900Mhz
Graphics Card(s)
MSI GT730 2GB GDDR5 (Kepler)
Sound Card
Supreme FX2
Monitor(s) Displays
Samsung LS22F350 LED
Screen Resolution
1080P
Hard Drives
Kingston SSDNow UV400 120GB, 500GB Hitachi, 2TB Samsung, 500GB Seagate FreeAgent, 640GB Samsung, 160GB Toshiba (Arch)
PSU
AeroCool 500W Bronze
Cooling
Cooler Master V6 + 3X fans
Keyboard
Prolink keyboard
Mouse
Logitech M705
Internet Speed
1MiB/s
Browser
Chrome Beta
This did not work. I have just managed to try this batch process on another pc running Win 7 64-bit and would you believe it, if I run as Administrator, it runs.

So the status of the bat file issue is:
It runs ok on Win 7 32-bit
It doesn't run on my 64-bit new laptop
It runs as Administrator on another 64-bit system

I'm now wondering if this is to do with permissions/profile/Win 7 UAC etc.
 

My Computer

Computer Manufacturer/Model Number
Lenovo Thinkpad T410
OS
Windows 7 Professional 64-bit
CPU
i7-620M
Motherboard
??
Memory
8 GB
Back
Top