Command Prompt and Desktop Location


Go Back   Computer Help Articles > Windows XP General
User Name
Password
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-05-2006, 02:31 AM
ManishPatel2005
 
Posts: n/a
Default Command Prompt and Desktop Location

Hi guys,

I have windows xp home editon..

Recently I ran across a corrupt .jpg file that will close all my running
prgrams when opened or even when seen in a folder as just location. for
example, if i open a folder containing that file; it will close all my
running programs including the file folder. In porcess of putting this file
in "recyle bin"; I stupidly dragged it on my
desktop. And, now I cannot see anything on my desktop, nothing... not even
the start menu or title bar or icon on the desktop.

I can get to the Task Manager and can open the MS-DOS command program. I am
trying to delete the file from my desktop using command prompt. I am no
good with command as you can probably guess. I can still use my computer if
I log in as different user. This is something I tried that didnot work.

From current directory of C:\Documents and Settings\UserName\Desktop
I tried this command;
del *.*

It delelted something. But upon relogging as that username, I still see that
file just for just for a half second on the desktop. I just cannot seem to
be able to delete it.
Can anybody Help...
I need be logged in as that user..becasue I have so many things under that
name that is not shared...I'd really appreciate your help...
One thing I not sure is the location of my desktop..I mean there seemed to
be 2 different locations...I dont'know..
Thanks guys....
-manish
Reply With Quote
  #2  
Old 01-05-2006, 02:31 AM
Pegasus \(MVP\)
 
Posts: n/a
Default Re: Command Prompt and Desktop Location


"ManishPatel2005" <ManishPatel2005@discussions.microsoft.com> wrote in
message news:58DD956F-CD58-4E24-B27E-BFA9BBE9C62F@microsoft.com...
> Hi guys,
>
> I have windows xp home editon..
>
> Recently I ran across a corrupt .jpg file that will close all my running
> prgrams when opened or even when seen in a folder as just location. for
> example, if i open a folder containing that file; it will close all my
> running programs including the file folder. In porcess of putting this

file
> in "recyle bin"; I stupidly dragged it on my
> desktop. And, now I cannot see anything on my desktop, nothing... not

even
> the start menu or title bar or icon on the desktop.
>
> I can get to the Task Manager and can open the MS-DOS command program. I

am
> trying to delete the file from my desktop using command prompt. I am no
> good with command as you can probably guess. I can still use my computer

if
> I log in as different user. This is something I tried that didnot work.
>
> From current directory of C:\Documents and Settings\UserName\Desktop
> I tried this command;
> del *.*
>
> It delelted something. But upon relogging as that username, I still see

that
> file just for just for a half second on the desktop. I just cannot seem

to
> be able to delete it.
> Can anybody Help...
> I need be logged in as that user..becasue I have so many things under that
> name that is not shared...I'd really appreciate your help...
> One thing I not sure is the location of my desktop..I mean there seemed to
> be 2 different locations...I dont'know..
> Thanks guys....
> -manish


Deleting everything (*.*) is a little dangerous. If this was my
machine then I would be far more selective.

There are two storage locations for items on your desktop. To
delete a file from them, use both of these commands from a
Command Prompt:

del "C:\Documents and Settings\UserName\Desktop\SomeFile.jpg"
del "C:\Documents and Settings\All Users\Desktop\SomeFile.jpg"




Reply With Quote
  #3  
Old 01-05-2006, 02:31 AM
Trax
 
Posts: n/a
Default Re: Command Prompt and Desktop Location

ManishPatel2005 <ManishPatel2005@discussions.microsoft.com> wrote:

|>From current directory of C:\Documents and Settings\UserName\Desktop
|>I tried this command;
|>del *.*

That wasn't good...

|>It delelted something. But upon relogging as that username, I still see that
|>file just for just for a half second on the desktop. I just cannot seem to
|>be able to delete it.
|>Can anybody Help...

In a command window (CMD) go to the folder that has the file you can't
delete - C:\Documents and Settings\UserName\Desktop
and type in:
DIR /X
you should see the file name in 8.3 format (myjpgh~1.jpg) before the
name of the file, type in:
DEL [8.3 filename] <enter>
that should remove it.

--
http://media.putfile.com/PurePwnage-WoWisafeeling
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving Remote Desktop destroys mouse pointer scheme. theyas@community.nospam Windows XP Work Remotely 1 01-05-2006 07:14 AM
Desktop icons in Active Desktop A Lake Windows XP Customize 1 01-05-2006 06:34 AM
Printing to the remote location via Remote Desktop Kevin Schultz Windows XP General 1 01-05-2006 02:27 AM
Storage Location for Desktop Pictures (Wallpaper) srdiamond Windows XP Basics 4 01-05-2006 02:03 AM
Cleaning my Desktop Icons Vince Windows XP Basics 4 01-05-2006 02:03 AM


All times are GMT. The time now is 04:43 PM.


Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. SEO by vBSEO 2.3.2 © 2005, Crawlability, Inc.

Command Prompt and Desktop Location