- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- "Stderr - 'c:\program' is not recognized as an int...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2008 12:39 AM
тАО07-09-2008 12:39 AM
"Stderr - 'c:\program' is not recognized as an internal command
i try to implement an online spares on blades..
on c-7000 enclosure..
i had 2 blades servers BL460c G1 ; on bay 1 & bay 2
scenario :
1. "BLADE1" as a production server.
2. image of server "BLADE1" backed using RDP.
3. server "BLADE2" configure as the online spare.
4. SIM is configured to monitor server "BLADE1" constantly.
5. SIM starts the image download of server "BLADE1" on "BLADE2" if "BLADE1" fails.
6. RDP completes the deployment ad brings up "BLADE2" with all the functionality of server "BLADE1"
but, i can't get a unsuccessful job guys..
i create a batch files, named as "deploy.bat" as part of a custom command on SIM.. on my deployment server path folder.. its look like this;
cd/
cd program files\hp\rdp\deployment server\
axSched spare BLADE460G1-1 /t "2000-12-31 00:00"
when i manually executed this "deploy.bat" files.. it works.. it trigered "BLADE2" power on.. and accept an a deployment job that i already assign on it.. and then server "BLADE2" will have an OS on it..
but when i implement this "deploy.bat" to integrated on SIM.. on my custom tools.. it won't work guys.. :(
on "Task & Logs-->task result" i get an notification that look like this..
"Stderr - 'c:\program' is not recognized as an internal or external command, operable program or batch file."
see my attach for details..
need help guys,
make my day brighter please :(
cheers,
markum@asa.co.id
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2008 02:10 AM
тАО07-09-2008 02:10 AM
Re: "Stderr - 'c:\program' is not recognized as an internal command
Please save the batch file under c drive.
e.g. C:\deploy.bat and try again or create any folder in the C: drive with a folder name that does not contain a space in it.
Regards,
Akarsh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2008 10:54 AM
тАО07-09-2008 10:54 AM
Re: "Stderr - 'c:\program' is not recognized as an internal command
dir /x c:\
on your system to see the equivalent 8.3 filename and the long filename. Hopefully if you don't have anything else with naming that starts "PROGRAM" so your "C:\Program Files" should be equivalent to "C:\PROGRA~1"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2008 11:18 AM
тАО07-09-2008 11:18 AM
Re: "Stderr - 'c:\program' is not recognized as an internal command
working: C:\>dir progra~1
not working: C:\>dir program files
working: C:\>dir "program files"
... :-((
as mentioned before, get the "short" names and use them.
C:\>dir /x
...
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2008 09:01 PM
тАО07-09-2008 09:01 PM
Re: "Stderr - 'c:\program' is not recognized as an internal command
Basically, the .cmd extension is the better choice for Windows NT-based OSes, because the .cmd extension is associated with the cmd.exe program, which uses a native 32-bit command environment. Scripts that use the .bat extension are associated with the 16-bit program command.exe, and they will run in the NT Virtual DOS Machine (NTVDM) instead of the native 32-bit cmd.exe program, which is less reliable than the cmd.exe environment.
I could not understand why so much script programers still using .BAT Files on actual Windows Systems !!!! just go on with learning