Question about Microsoft Windows Vista Home Premium with Service Pack 1: Windows

1 Answer

In vista how to use the del command

What is the syntax to use the delete in sub-folders

Posted by Anonymous on

Ad

1 Answer

  • Level 1:

    An expert who has achieved level 1.

    Corporal:

    An expert that hasĀ over 10 points.

    Mayor:

    An expert whose answer gotĀ voted for 2 times.

    Problem Solver:

    An expert who has answered 5 questions.

  • Contributor
  • 18 Answers

Open a dos prompt.

to make a directory type md "name of directory"
to remove a directory type rd "name of directory"
to change from one to another type cd "name of directory"
to go up one directory type cd..
to change drives type cd drive letter

All commands are typed without quotes

Posted on Mar 02, 2015

Ad

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 Technician 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 repair professionals here in the US.
click here to Talk to a Technician (only for users in the US for now) and get all the help you need.
Goodluck!

Posted on Jan 02, 2017

Ad

Add Your Answer

Uploading: 0%

my-video-file.mp4

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

×

Loading...
Loading...

Related Questions:

1 Answer

My yahoo messenger doesnt update me on who is online or offline? help me please thanks...


clear your Yahoo! Messenger cache files

For XP:
1. Exit Yahoo! Messenger by right-clicking the tray icon and selecting "Exit."
2. On your keyboard, press "Windows Logo+R" to open the "Run" command.
3. Type in "cmd" and click "OK." This opens a Command Prompt window.
4. Copy and paste each of the following commands into the command prompt. Press the "Enter" key after pasting each command.
%SystemDrive%
cd "\"
rd "%ProgramFiles%\Yahoo!\Messenger\Cache\" /s /q
rd "%UserProfile%\Local Settings\Application Data\Yahoo\" /s /q
rd "%AllUsersProfile%\Application Data\Yahoo!\" /s /q
reg delete HKLM\SOFTWARE\Yahoo /f
reg delete HKCU\Software\Yahoo /f
del "%ProgramFiles%\Yahoo!\Messenger\*--*" /f /s /q
del "%ProgramFiles%\Yahoo!\Messenger\*.tmp" /f /s /q
del "%temp%\*.*" /f /s /q

For vista:

1. Exit Yahoo! Messenger by right-clicking the tray icon and selecting "Exit."
2. On your keyboard, press "Windows Logo+R" to open the "Run" command.
3. Type in "cmd" and click "OK." This opens a Command Prompt window.
4. Copy and paste each of the following commands into the command prompt. Press the "Enter" key after pasting each command.
%SystemDrive%
cd "\"
rd "%ProgramFiles%\Yahoo!\Messenger\Cache\" /s /q
rd "%LocalAppData%\Yahoo\" /s /q
rd "%ProgramData%\Yahoo!\" /s /q
reg delete HKLM\SOFTWARE\Yahoo /f
reg delete HKCU\Software\Yahoo /f
del "%ProgramFiles%\Yahoo!\Messenger\*--*" /f /s /q
del "%ProgramFiles%\Yahoo!\Messenger\*.tmp" /f /s /q
del "%temp%\*.*" /f /s /q

Oct 01, 2009 | Yahoo Messenger

Tip

Printer Spoiler problem


<p><br />If the Print Spooler service fails when printing or when Windows starts or it can not be restarted, the usual reason is that one or more printer drivers is defective. The simplest way to resolve this is to remove all the drivers and reinstall them again.<br /> <p><br />If the Print Spooler service is not running, the Printers and Faxes folder will be empty and you can not use it to remove (or add) printers or printer drivers. <br /> <p><br /><b>Resolution:</b><br /> <p> <br /> <p><b>Windows XP:</b><br /> <br /> <p>If the Print Spooler service is operational:<br /> <p>1.<span> </span><span>Open the <b>Printers and Faxes</b> folder, Start-&gt;Printers and Faxes.</span><br /> <p>2.<span> </span><span>Delete all of the <span>printers</span></span> <br /> <p>3.<span> </span><span>Click <b>File</b>, Server Properties</span> <br /> <p>4.<span> </span><span>Select the <b>Drivers</b> tab</span> <br /> <p>5.<span> </span><span>For each entry:</span> <br /> <p>a.<span> </span><span>Select the entry</span> <br /> <p>b.<span> </span><span>Click Remove</span> <br /> <p>If the Print Spooler service is not operational:<br /> <p>6.<span> </span><span>Open regedit Start-&gt;Run and type regedit.</span> <br /> <p>7.<span> </span><span>navigate to <b>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers</b></span> <span>Under this key, there will be the keys Version-2 and Version-3 (one or the other of these may be absent - not a problem) the sub-keys under these contain the printer driver configuration information. Delete all the sub-keys inside Version-2 and Version-3, but <i>not</i> these keys themselves</span><br /> <p>8.<span> </span><span>Open a Command Prompt window</span> <br /> <p>9.<span> </span><span>Type the commands<br /> <span><b>net stop spooler</b></span><i><br /> </i><span><b>net start spooler</b></span></span> <br /> <p>10.<span> </span><span>Open Windows Explorer</span> <br /> <p>11.<span> </span><span>Navigate to <b>%systemroot%\system32\spool\printers\</b> and delete any files there. By default, this is where the <span>print spooler</span> stores print files.</span> <br /> <p>12.<span> </span><span>Navigate to <b>%systemroot%\system32\spool\drivers\w32x86</b>. Inside w32x86, there will be folders with the names 2 and 3 (one or more of these may be absent - not a problem) delete all of the files and sub-folders in each of the 2 and 3 folders, but not the folders themselves. Inside w32x86, there may be other folders with names starting with "hewlett_packard", "hphp" (ex. for HP printers) or something else; delete these folders also</span><br /> <p><span>13. </span><span>Restart the <span>print spooler</span> (see steps 8 and 9 above)</span><span> </span><br /> <p><b>Windows 7:</b><br /> <ol> <li> Go to <b>services.msc</b> -&gt; stop the printer spooler service. <li> Get into windows /system32/spool. <li> Find folder named printer and delete the contents of it. <li> Restart the printer spooler service, check for printing. <li> Restart the computer and check it again.</li></ol> <p><span> </span>OR<br /> <p>cmd<span> </span>-- &gt; net stop spooler<br /> <p>del /q /f /s "%systemroot%\System32\Spool\PRINTERS \*.*"<br /> <p>net start spooler

on Mar 10, 2011 | Office Equipment & Supplies

Tip

Delete An undeletable File



Open a Command Prompt window and leave it open.
Close all open programs.
Click Start, Run and enter TASKMGR.EXE
Go to the Processes tab and End Process on Explorer.exe.
Leave Task Manager open.
Go back to the Command Prompt window and change to the directory the AVI (or other undeletable file) is located in.
At the command prompt type DEL <filename> where <filename> is the file you wish to delete.
Go back to Task Manager, click File, New Task and enter EXPLORER.EXE to restart the GUI shell.
Close Task Manager.


Or you can try this

Open Notepad.exe

Click File>Save As..>

locate the folder where ur undeletable file is

Choose 'All files' from the file type box

click once on the file u wanna delete so its name appears in the 'filename' box

put a " at the start and end of the filename
(the filename should have the extension of the undeletable file so it will overwrite it)

click save,

It should ask u to overwrite the existing file, choose yes and u can delete it as normal


Here's a manual way of doing it. I'll take this off once you put into your first post zain.

1. Start
2. Run
3. Type: command
4. To move into a directory type: cd c:*** (The stars stand for your folder)
5. If you cannot access the folder because it has spaces for example Program Files or Kazaa Lite folder you have to do the following. instead of typing in the full folder name only take the first 6 letters then put a ~ and then 1 without spaces. Example: cd c:progra~1kazaal~1
6. Once your in the folder the non-deletable file it in type in dir - a list will come up with everything inside.
7. Now to delete the file type in del ***.bmp, txt, jpg, avi, etc... And if the file name has spaces you would use the special 1st 6 letters followed by a ~ and a 1 rule. Example: if your file name was bad file.bmp you would type once in the specific folder thorugh command, del badfil~1.bmp and your file should be gone. Make sure to type in the correct extension.

on Oct 09, 2010 | Computers & Internet

2 Answers

Unable to delete a file in vista ultimate


Dear Sir,

Please restart u r pc once and then try for del. coz if that respected file from that folder is running then its not possible to del. Thats y u have to restart once for delete.

Cheers

Sep 19, 2009 | Computers & Internet

2 Answers

BaiduBar.Dll


Hi,

here are some information about the normal file
http://www.file.net/process/baidubar.dll.html

If this dll is shown in Add or Remove Program, something is wrong. The normal file is not an intalled program in common sense.
Take then a look at http://www.spywareremove.com/removeBaiduBar.html
Here is a description to remove the spyware baidubar and a antispyware tool to detect it.

Hope that helps.

Jun 15, 2009 | Microsoft Windows XP Professional

Tip

Delete an undeletable file...


Delete an "undeletable" File.

Open a Command Prompt window and leave it open.
Close all open programs.
Click Start, Run and enter TASKMGR.EXE
Go to the Processes tab and End Process on Explorer.exe.
Leave Task Manager open.
Go back to the Command Prompt window and change to the directory the AVI (or other undeletable file) is located in.
At the command prompt type DEL <filename> where <filename> is the file you wish to delete.
Go back to Task Manager, click File, New Task and enter EXPLORER.EXE to restart the GUI shell.
Close Task Manager.

Or you can try this:
Open Notepad.exe
Click File>Save As..> locate the folder where your undeletable file is Choose 'All files' from the type box
Click once on the file you wanna delete so it's name appears in the 'filename' box.

put a "at the start and end of the filename (the filename should have the extension of the undeletable file to is will overwrite it)

click save,

It should as you to overwrite the existing file, choose yes and you can delete it as normal.

Here's a manual way of doing it. I'll take this off once you put into your first post zain.

1. Start
2. Run
3. Type: command
4. To move into a directory type: cd c:\*** (The stars stand for your folder)
5. If you cannot access the folder because it has spaces for example Program Files or Kazaa Lite folder you have to do the following. instead of typing in the full folder name only take the first 6 letters then put a ~ and then 1 without spaces. Example: cd c:\progra~1\kazaal~1
6. Once your in the folder the non-deletable file it in type in dir - a list will come up with everything inside.
7. Now to delete the file type in del ***.bmp, txt, jpg, avi, etc... And if the file name has spaces you would use the special 1st 6 letters followed by a ~ and a 1 rule. Example: if your file name was bad file.bmp you would type once in the specific folder thorugh command, del badfil~1.bmp and your file should be gone. Make sure to type in the correct extension.

on Feb 11, 2010 | Computers & Internet

Tip

Delete an undeletable File


Open a command Prompt window and leave it open.
close all open programs.
click Start, Run and enter TASKMGR. EXE
Go to the Processes tab and End Process on Explorer. exe.
Leave Task Manager open.
Go back to the command Prompt window and change to the
directory the AVI ( or other undeletable file) is located
in.
At the command prompt type DEL <filename> where <filename>
is the file you wish to delete
Go back to Task Manager. click File, New Task and enter
EXPLORER.EXE to restart the GUI shell.
close Task Manager.

or you can try this

Open NOtepad.exe

click File>Save as..>

locate the folder where ur undeletable file is

choose "All files" from the file type box

click once on the file u wanna delete so its name appears
in the "filename" box

pur a " at the start and end of the filename
(the filename should have the extension of the undeletable
file so it will overwrite it)

click save,

It should ask u to overwrite the existing file, choose yes and u can delete it as normal

Here's a manual way of doing it. I'll take this off once you put into your first post zain.

1. Start
2. Run
3. Type: command
4. To move into a directory type: cd c:\*** (The stars stand for your folder)
5. If you cannot access the folder because it has to do the following. instead of typing in the full folder name only take the first 6 letters then put a ~ and then 1 without spaces.
Example: cd c:\progra~1\kazaal~1
6. Once your in the folder the non-deletable file it in type in dir - a list will come up with everything inside.
7. Now to delete the file type in del ***.bmp, txt,jpg,avi,etc... And if the file name has spaces ypu would use the specific folder throgh command, del badfil~1.bmp and your file should be gone. Make sure the type in the correct extension.

on Jan 31, 2010 | Computers & Internet

4 Answers

Cannot delete my bad files...


Could be a process issue stopping you deleting the files. Try downloading unlocker (http://ccollomb.free.fr/unlocker/) and see if this helps.

If not it might be an 8.3 naming convention issue. Go to DOS prompt to a "dir /x /a". Rename the file to less than 8 characters using the SHORT name only. Then try deleting the file.

Apr 01, 2009 | Microsoft Windows XP Professional

2 Answers

Microsoft Outlook 2003 sycn with yahoo email


Windows 95, 98, and ME syntax
Deletes one or more files.
DEL [drive:][path]filename [/P]
ERASE [drive:][path]filename [/P]
[drive:][path]filenameSpecifies the file(s) to delete. Specify multiple files by using wildcards./PPrompts for confirmation before deleting each file.Windows 2000 and Windows XP syntax
Deletes one or more files.
DEL [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names
ERASE [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names
namesSpecifies a list of one or more files or directories. Wildcards may be used to delete multiple files. If a directory is specified, all files within the directory will be deleted./PPrompts for confirmation before deleting each file./FForce deleting of read-only files./SDelete specified files from all subdirectories./QQuiet mode, do not ask if ok to delete on global wildcard/ASelects files to delete based on attributesattributesR Read-only files S System filesH Hidden files A Files ready for archiving- Prefix meaning notIf Command Extensions are enabled DEL and ERASE change as follows:
The display semantics of the /S switch are reversed in that it shows you only the files that are deleted, not the ones it could not find.
Windows 2000 and Windows XP recovery console syntax
Deletes one file.
del [drive:][path]filename
delete [drive:][path]filename
[drive:][path]filenameSpecifies the file to delete.
Delete only operates within the system directories of the current Windows installation, removable media, the root directory of any hard disk partition, or the local installation sources.
Del and delete do not support replaceable parameters (wild cards).
Examples
Notice: Users who are running Microsoft Windows 95 and are used to deleted items going to the recycle bin need to keep in mind that deleting files from MS-DOS does not send files to the recycle bin. del test.tmp = Deletes the test.tmp in the directory that you currently are in, if the file exists.
del c:windows est.tmp = Delete the c:windows est.tmp in the windows directory if it exists.
del c:windows emp*.* = (* is for wild character(s)) *.* indicates that you would like to delete all files in the c:windows emp directory.
del c:windows emp?est.tmp = (? is a single wild character for one letter) This command would delete any file ending with est.tmp such as pest.tmp or zest.tmp...

You may also configure your outlook express to auto delete Emails by creating a rule for them.

Illustration.

78d4c77.jpg

a388899.jpg

If you can not see the illustrations properly , youtube has excellent tutorials.

http://www.youtube.com/watch?v=wcb7x7ErtO4


Thank you for choosing FixYa!




Az.

Sep 19, 2008 | Microsoft Office Outlook 2003 for PC

Tip

Delete An "undeletable" File



Open a Command Prompt window and leave it open.
Close all open programs.
Click Start, Run and enter TASKMGR.EXE
Go to the Processes tab and End Process on Explorer.exe.
Leave Task Manager open.
Go back to the Command Prompt window and change to the directory the AVI (or other undeletable file) is located in.
At the command prompt type DEL <filename> where <filename> is the file you wish to delete.
Go back to Task Manager, click File, New Task and enter EXPLORER.EXE to restart the GUI shell.
Close Task Manager.


Or you can try this

Open Notepad.exe

Click File>Save As..>

locate the folder where ur undeletable file is

Choose 'All files' from the file type box

click once on the file u wanna delete so its name appears in the 'filename' box

put a " at the start and end of the filename
(the filename should have the extension of the undeletable file so it will overwrite it)

click save,

It should ask u to overwrite the existing file, choose yes and u can delete it as normal


Here's a manual way of doing it. I'll take this off once you put into your first post zain.

1. Start
2. Run
3. Type: command
4. To move into a directory type: cd c:\*** (The stars stand for your folder)
5. If you cannot access the folder because it has spaces for example Program Files or Kazaa Lite folder you have to do the following. instead of typing in the full folder name only take the first 6 letters then put a ~ and then 1 without spaces. Example: cd c:\progra~1\kazaal~1
6. Once your in the folder the non-deletable file it in type in dir - a list will come up with everything inside.
7. Now to delete the file type in del ***.bmp, txt, jpg, avi, etc... And if the file name has spaces you would use the special 1st 6 letters followed by a ~ and a 1 rule. Example: if your file name was bad file.bmp you would type once in the specific folder thorugh command, del badfil~1.bmp and your file should be gone. Make sure to type in the correct extension.

on Dec 02, 2009 | Computers & Internet

Not finding what you are looking for?
Microsoft Windows Vista Home Premium with Service Pack 1: Windows Logo

65 people viewed this question

Ask a Question

Usually answered in minutes!

Top Microsoft Computers & Internet Experts

micky dee

Level 3 Expert

2905 Answers

Piyal Perera
Piyal Perera

Level 3 Expert

528 Answers

Les Dickinson
Les Dickinson

Level 3 Expert

18411 Answers

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

Answer questions

Manuals & User Guides

Loading...