Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Windows XP / Basics / December 2007

Tip: Looking for answers? Try searching our database.

dos commands

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sam - 29 Dec 2007 18:11 GMT
Hi Group,

Somebody has changed my xp all basic dos commands to linux commands like
dir = ls
can any one please suggest me how to change / revert Basic dos commands.

S A M
JS - 29 Dec 2007 20:48 GMT
There are at least three possible ways.
1) Aliases:  Doskey ls=dir
2) A replacement for the Windows cmd.exe file
3) Binary edit and change the cmd.exe file.

The first (aliases) is not very likely.

The second is possible (cygwin or similar replacement for the cmd.exe file).
(look for a different date and file size for the cmd.exe file)
cmd.exe is located in C:\Windows\system32 and the exact size when checking
the file properties is 388,608 bytes
Should you find that the file size has changed there is another copy of
cmd.exe located in the C:\WINDOWS\ServicePackFiles\i386 folder, double click
on this file and see if the results are back to normal.

It takes a skilled person with the right tool to perform a binary edit of
cmd.exe and make it work, however if they did this the 'Date Modified'
attribute would be a very recent date.

JS

> Hi Group,
>
[quoted text clipped - 3 lines]
>
> S A M
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.