Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Need some help on command line pls.


  • Please log in to reply

#1
MaMister

MaMister

    Member

  • Member
  • PipPip
  • 96 posts
Hi,

I would like to know what is the command for delete files and shortcuts on current user desktop.

Is it del C:\documents and settings\*\local settings\desktop\popup blocker stops popups.lnk?

Using winxp pro. I know it is easlier to use windows explorer but I am doing this for interest.

Thank you.
  • 0

Advertisements


#2
gerryf

gerryf

    Retired Staff

  • Retired Staff
  • 11,365 posts
All of the following will work

del C:\"documents and settings"\{short profile name or long profile name in quotes}\desktop\"popup blocker stops popups.lnk"

del C:\"documents and settings"\{short profile name or long profile name in quotes}\desktop\popupb~1.lnk

del C:\docume~1\{short profile name or long profile name in quotes}\desktop\"popup blocker stops popups.lnk"

del C:\docume~1\{short profile name or long profile name in quotes}\desktop\popupb~1.lnk


These two are even better because you don't need to know the user profile name, or worry about the "c:\documents and settings" lead in....only works for the currently logged in user, though....very helpful

del "%userprofile%"\desktop\"popup blocker stops popups.lnk"

del "%userprofile%"\desktop\popupb~1.lnk
  • 0

#3
MaMister

MaMister

    Member

  • Topic Starter
  • Member
  • PipPip
  • 96 posts
Thanks.

I also found out that the file deleted is not in the recyclebin.

Is this normal?
  • 0

#4
gerryf

gerryf

    Retired Staff

  • Retired Staff
  • 11,365 posts
yes...you are not using windows to delete the file, so it is bypassing the recycle bin...
  • 0

#5
MaMister

MaMister

    Member

  • Topic Starter
  • Member
  • PipPip
  • 96 posts
May I ask if you know of any end task tools for win98 that can be use in command line like the taskkill in winxp?
  • 0

#6
gerryf

gerryf

    Retired Staff

  • Retired Staff
  • 11,365 posts
http://www.teamcti.com/pview/
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP