Solved

How can I  get dos commands to run.

Posted on 2007-11-26
10
1,975 Views
Last Modified: 2008-05-23
Runs fine in Windows 5.2.3790 as typed at the DOS prompt. (this is my windows 2003 server)
Does not run fine in windows vista version 6.0.6000.

I have DOS menu system I use for deployment and works great normally.  But since I run win Pe 2.0 and map z:\  to the server that has the DOS files I get the error "The system cannot find the file xxxxx.xxx" commands like more.exe edit.exe ipconfig .exe & mem.exe.  I have the necessary SET PATH commands for allowing the required directories to be correctly pathed.

I need to this to run correctly in the win pe cmd window.  Any solutions.
0
Comment
Question by:rhservan
10 Comments
 
LVL 29

Expert Comment

by:matrixnz
ID: 20356559
So do you see the files in Z:\ when you do a dir?

If you enter the commands manually ie Z:\ipconfig.exe etc.. does it work?  You say they don't run under Windows Vista or Windows PE can you specify what you mean? i.e. you're using a Windows PE boot disk, then running the menu?  Or are you running them under Vista?

0
 
LVL 66

Accepted Solution

by:
johnb6767 earned 500 total points
ID: 20357611
PESetEnv - Set Environment Variables
http://www.smithii.com/files/plugins/z_pesetenv.zip

Do you have this plugin added?

0
 
LVL 17

Expert Comment

by:Shanmuga Sundaram
ID: 20366642
type path and press enter and check whether the path is set. if the path is not set then try setting the path using the command

path=%path%;z:\;z:
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

Author Comment

by:rhservan
ID: 20370434
Thanks for your feed back.  I will not be at a system for about 24 hours to follow up on things here.  But stick with me.  Please review responses below.

Shasunder, Yes I have appended the path statement & tested this previously. No Luck.

Matrixnz, You brought up a good point.  The version number is from a Win PE 2.0 boot.  I assumed it is the same as Vista since it is PE 2.0 and not Barts PE 1.0.

johnb6767, I have downloaded the file.  I will test this on Thursday night.  If you could please elaborate on why this might solve my issue.
0
 

Author Comment

by:rhservan
ID: 20390958
Update:
Environment for winpe 2.0 - Windows Deployment Services  PXE Boot, Workstation automatically pulls the PE down from the PXE Server.
Environment for Vista Ent. - Stand alone workstation install.

1. Menu currently will not run under winpe 2.0
2. Menu will run under a full Vista installation.
(Both are the same "ver" version at the prompt - 6.0.6000)

Johnb6767 I cannot find this tool or equivalent for winpe 2.0 any suggestions.
0
 

Author Comment

by:rhservan
ID: 20515677
It seems that the menu system is a 16 bit DOS application.
In Vista there is support for 16 bit applicaitons, so the application runs there.
In winpe 2.0 there is no 16 bit support. (no WOWEXEC - No NTVDM)

How can I build support for 16 bit applications in the winpe 2.0 environment?
0
 

Author Comment

by:rhservan
ID: 20756029
Microsoft states that 16 bit applications will not run in win pe  2.0.
I imagine it is due to the construct not including wowexec, etc.

The answer is this cant be done.

Please advise on handling a close on this item.
0
 
LVL 66

Expert Comment

by:johnb6767
ID: 20757083
I would consider using BartPE/UBCD as it CAN handle them......
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
VALIDATING DATES One method of validating dates is to jam the date into the DATE command and see if it accepts it by examining the system's errorlevel value. A non-zero result indicates failure. A typical example might look something like the fol…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question