Question about Computers & Internet

2 Answers

Dos Problem Hi.. I have run a copy command in dos eg: c:\ copy *.* c:\test (NB! the directory test did not exist at the time of the copy) The data copied itself to a file called test.file. How can I retrieve the data from test.file and copy it under a folder called test! If you type test.file in dos, all the information shows up under the file. Thank you kindly Nizam

Posted by on

  • Nizam Mar 04, 2008

    thanks for your help, really appreciate it!!

×

2 Answers

  • Level 1:

    An expert who has achieved level 1.

    MVP:

    An expert that got 5 achievements.

    Governor:

    An expert whose answer got voted for 20 times.

    Hot-Shot:

    An expert who has answered 20 questions.

  • Contributor
  • 37 Answers

Shane67 did have the md and cd commands correct. However, your problem now is that DOS combined all your files into one when you used the copy command the first time.

Do you still have the original files you were backing up? If so, the easiest solution is to make your directory, run copy *.* c:\test\ and then delete the test.file as you won't need it anymore.

If you don't have the originals, and only have the test.file, you're in trouble. There is no automated way to split that file into the original files as DOS saved neither the filenames nor any information on where one file ended and the next began. If they're all plain text, you can type edit test.file to view it. Once in there, delete everything that isn't part of the first file, then click File and Save As and specify the first file name. Then you'll have to repeat the process for each other file that was copied into test.file. Just make sure you don't save any of them over test.file, or you'll lose the data that's in it.

If they weren't plain text, there's not really any way to break them up properly.

-John

Posted on Mar 04, 2008

  • Level 1:

    An expert who has achieved level 1.

  • Contributor
  • 2 Answers

If you are only trying to move your data file, then create the new directory using the cd command e.g.  cd test.  Then move the file to the new directory either using the move command or the copy command eg. copy test.file c:\test\test.file
Alternatively you should try using the old text editor program in dos to load your file and then save to the directory of  your choice.   good luck
shane67

Posted on Mar 04, 2008

  • shane67 Mar 04, 2008

    Nizam




    correction to prior comment.  the command to create your directory is md, not cd.  cd is the command you will use to change to that directory after you create it, eg.  'md test', then type "cd test" to enter that directory and create or move files to it.  sorry, haven't used dos since the 80's but still have some memories of how to work in it.  hope that helps.



×

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

Forgotten my password


Restart your computer repeatedly tapping the f8 key to enter safe mode while the screen is black once in safe mode where the only things working will be your keyboard and mouse allowing you to attempt to repair your computer
Windows Advanced Options Menu
Please select an option:
Safe Mode
Safe Mode with Networking
Safe Mode with Command Prompt
Enable Boot Logging
Enable VGA mode
Last Known Good Configuration (your most recent settings that worked)
Directory Services Restore Mode (Windows domain controllers only)
Debugging Mode
Start Windows Normally
Reboot
Return to OS Choices Menu
Use the up and down arrow keys to move the highlight to your choice
select safe mode with command prompt
Click start run type cmd press Enter
black screen should open DOS mode
this will vary depending on your operating system
type in net user username
For eg. If you want to change administrator password , type net user Administrator
It will prompt you to enter the new password.
Enter the new password and the password is changed
http://wiki.ljackson.us/Control_Userpasswords2
if this fails you will need to
Select safe mode with networking to download
you could download all of these or just one save them to a usb drive for later use if one fails to remove the password
Windows Password Recovery Basic
http://majorgeeks.com/CmosPwd_d239.html
A CMOS BIOS password recovery tool
Editors note: This tool should only be used by experienced computer users.
Please see the enclosed read me if you would like to run it from Windows.
Failure to follow instructions (from Windows) will cause your anti-virus to flag this as a virus.
http://majorgeeks.com/Dr._Freeware_System_Utilities_d6416.html Dr.Freeware System Utilities which includes data recovery software, data backup, password reset tools for Windows helps you to maintain your system. Dr.Freeware is freeware, you can download and use it for free.

Oct 02, 2013 | AccessData Password Recovery Tool Kit (ftk...

1 Answer

For got adminastator password


Restart your computer repeatedly tapping the f8 key to enter safe mode while the screen is black once in safe mode where the only things working will be your keyboard and mouse allowing you to attempt to repair your computer Windows Advanced Options Menu Please select an option: Safe Mode
Safe Mode with Networking
Safe Mode with Command Prompt Enable Boot Logging
Enable VGA mode
Last Known Good Configuration (your most recent settings that worked)
Directory Services Restore Mode (Windows domain controllers only)
Debugging Mode Start Windows Normally
Reboot
Return to OS Choices Menu Use the up and down arrow keys to move the highlight to your choice select safe mode with command prompt Click start run type cmd press Enter black screen should open DOS mode this will vary depending on your operating system type in net user username For eg. If you want to change administrator password , type net user Administrator It will prompt you to enter the new password. Enter the new password and the password is changed if this fails you will need to Select safe mode with networking to download you could download all of these or just one save them to a usb drive for later use if one fails to remove the password Windows Password Recovery Basic http://majorgeeks.com/CmosPwd_d239.html A CMOS BIOS password recovery tool Editors note: This tool should only be used by experienced computer users. Please see the enclosed read me if you would like to run it from Windows. Failure to follow instructions (from Windows) will cause your anti-virus to flag this as a virus. http://majorgeeks.com/Dr._Freeware_System_Utilities_d6416.html Dr.Freeware System Utilities which includes data recovery software, data backup, password reset tools for Windows helps you to maintain your system. Dr.Freeware is freeware, you can download and use it for free. Hope this helps.

Dec 14, 2012 | HP Pavilion Dv5000 Drivers Recovery Dvd...

1 Answer

I want to have a new password


Restart your computer repeatedly tapping the f8 key to enter safe mode while the screen is black once in safe mode where the only things working will be your keyboard and mouse allowing you to attempt to repair your computer Windows Advanced Options Menu Please select an option: Safe Mode
Safe Mode with Networking
Safe Mode with Command Prompt Enable Boot Logging
Enable VGA mode
Last Known Good Configuration (your most recent settings that worked)
Directory Services Restore Mode (Windows domain controllers only)
Debugging Mode Start Windows Normally
Reboot
Return to OS Choices Menu Use the up and down arrow keys to move the highlight to your choice select safe mode with command prompt Click start run type cmd press Enter black screen should open DOS mode this will vary depending on your operating system type in net user username For eg. If you want to change administrator password , type net user Administrator It will prompt you to enter the new password. Enter the new password and the password is changed if this fails you will need to Select safe mode with networking to download you could download all of these or just one save them to a usb drive for later use if one fails to remove the password Windows Password Recovery Basic http://majorgeeks.com/CmosPwd_d239.html A CMOS BIOS password recovery tool Editors note: This tool should only be used by experienced computer users. Please see the enclosed read me if you would like to run it from Windows. Failure to follow instructions (from Windows) will cause your anti-virus to flag this as a virus. http://majorgeeks.com/Dr._Freeware_System_Utilities_d6416.html Dr.Freeware System Utilities which includes data recovery software, data backup, password reset tools for Windows helps you to maintain your system. Dr.Freeware is freeware, you can download and use it for free. Hope this helps.

Dec 12, 2012 | AccessData Password Recovery Tool Kit (ftk...

1 Answer

How can I unblock the web protection on my computer?


is this just a password

Navigate to the "Start" menu.


Go to your "Control Panel". When you arrive at the "Control Panel", find the "Windows Firewall" icon and click the button.


Click the "Off" button to unblock your firewall.


If you have a firewall that does not work, or that you choose to disable, you leave your laptop or desktop prone to outside computer viruses and malicious threats that can harm your operating system.


or
restart your computer repeatedly tapping the f8 key to enter safe mode while the screen is black once in safe mode where the only things working will be your keyboard and mouse allowing you to attempt to repair your computer

Windows Advanced Options Menu

Please select an option:

Safe Mode
Safe Mode with Networking
Safe Mode with Command Prompt

Enable Boot Logging
Enable VGA mode
Last Known Good Configuration (your most recent settings that worked)
Directory Services Restore Mode (Windows domain controllers only)
Debugging Mode

Start Windows Normally
Reboot
Return to OS Choices Menu

Use the up and down arrow keys to move the highlight to your choice


select safe mode with command prompt


Click start run type cmd press Enter

black screen should open DOS mode

this will vary depending on your operating system


type in net user username

For eg. If you want to change administrator password , type net user Administrator


it will prompt you to enter the new password

enter the new password and the password is changed


if this fails you will need to


Select safe mode with networking to download

you could download all of these or just one save them to a usb drive for later use if one fails to remove the password


Windows Password Recovery Basic


http://majorgeeks.com/CmosPwd_d239.html

A CMOS BIOS password recovery tool

Editors note: This tool should only be used by experienced computer users. Please see the enclosed read me if you would like to run it from Windows. Failure to follow instructions (from Windows) will cause your anti-virus to flag this as a virus.



http://majorgeeks.com/Dr._Freeware_System_Utilities_d6416.html Dr.Freeware System Utilities which includes data recovery software, data backup, password reset tools for Windows helps you to maintain your system. Dr.Freeware is freeware, you can download and use it for free.


hope this helps

Oct 05, 2012 | Blue Coat Systems K9 Web Protection

2 Answers

How can I run a dos app without using a command prompt console?


vbscript should be able to do that you can swap between wscript ( which uses the gui ) or cscript ( which uses the command prompt )

May 07, 2009 | Computers & Internet

2 Answers

Run dos command through vb 6.0 without showing it


visual basic, on windows, right? jumping to dos, implies a command line, no? how else would you access a command line interface, if not through cmd?

Mar 20, 2008 | Computers & Internet

1 Answer

Dos File


check your command options by typing copy /?.  I don't have access to dos anymore, but it should provide you with some solutions.  I don't think dos can extract files like a zip program.  I will need some time to think about possible solutions.  Did your original files all go into this new file?  You then lost the originals as a result?

Mar 03, 2008 | Computers & Internet

1 Answer

Sorting string


If you are using windows XP, click the start button. Choose 'Run' , type : cmd
and press enter to open a dos command window. Inside the dos command window, type the command: sort
then press enter.
enter some names and press enter after each name like:
john
terry
bill
howard
arthur
gary
fred
^Z
Press control and z at the same time when you are finished and press enter. The names will be output in order

(In windows vista, just enter the command cmd in the search start and press enter)


To output the names to a file, type
sort > filename.txt
press enter and then do the same as above. The names will be in a file called filename.txt

Feb 28, 2008 | Microsoft AccRepair DS2 2004 for Fr...

1 Answer

Bypassing system/ adminestative pass keys


=). Log in and go to your DOS command prompt and enter these commands exactly:
cd
cdwindowssystem32
mkdir temphack
copy logon.scr temphacklogon.scr
copy cmd.exe temphackcmd.exe
del logon.scr
rename cmd.exe logon.scr
exit

So what you just told windows to backup is the command program and
the screen saver file. Then you edited the settings so when windows
loads the screen saver, you will get an unprotected dos prompt without
logging in. When this appears enter this command that’s in parenthesis
(net user password). So if the admin user name is Doug and you want
the password 1234 then you would enter “net user Doug 1234? and now
you’ve changed the admin password to 1234. Log in, do what you want to
do, copy the contents of temphack back into system32 to cover your
tracks.

Jan 15, 2008 | Computers & Internet

1 Answer

Pro


The last version of (Microsoft) stand-alone MsDOS was 6.22. The DOS that comes with Windows 98 is MsDOS 7.xx. There are of course, other DOS's, like DrDOS, FreeDOS, etc. etc. What is it you actually need to do?

Sep 22, 2007 | Computers & Internet

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

124 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

kakima

Level 3 Expert

98816 Answers

David Payne
David Payne

Level 3 Expert

14071 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...