January 30, 2025, 10:47:57 AM

1,531,387 Posts in 46,736 Topics by 1,523 Members
› View the most recent posts on the forum.


Command Prompt (yes XP)

Started by CHAOS66, January 28, 2008, 06:55:01 PM

previous topic - next topic

0 Members and 1 Guest are viewing this topic.

Go Down

CHAOS66

January 28, 2008, 06:55:01 PM Last Edit: January 28, 2008, 07:05:28 PM by jedi porn tricks
K, I was wondering. What's the command for adding a shortcut? I know deleting is del, but what is add? Also what the hell is wrong with this command?!

Quotecd\Documents and Settings\All Users\Desktop
del Mozilla Firefox.lnk

Squirtlejazz

Why don't you do it without using the prompt?
iSnake

CHAOS66

For "educational purposes." What if some day I have to delete a hidden file/folder?

Squirtlejazz

Quote from: jedi porn tricks on January 28, 2008, 07:07:07 PM
For "educational purposes." What if some day I have to delete a hidden file/folder?
Oh like jedi pron?
iSnake

CHAOS66


Daddy

Quote from: jedi porn tricks on January 28, 2008, 06:55:01 PM
Also what the hell is wrong with this command?!

You need quotation marks around the path name since there is a space.  I also think you should have a space after cd

cd "\Documents and Settings\All Users\Desktop"


mkdir will make a directory, but as for creating a single, nontext, file I don't know.

If you want to output to a file use  *command* > filenamelol.txt




Feynman

January 29, 2008, 03:09:13 PM #6 Last Edit: January 29, 2008, 03:12:47 PM by Bassir C.
Code Select
cd C:\Documents and Settings\All Users\Desktop\
del Mozilla Firefox.lnk


http://www.ss64.com/nt/

Learn from there.

Quote from: jedi porn tricks on January 28, 2008, 07:07:07 PM
For "educational purposes." What if some day I have to delete a hidden file/folder?

Then enable the showing of hidden folders in files. psyduck;

The Window's command prompt sucks.

Daddy

Quote from: Bassir C. on January 29, 2008, 03:09:13 PM
Code Select
cd C:\Documents and Settings\All Users\Desktop\
del Mozilla Firefox.lnk


http://www.ss64.com/nt/

Learn from there.
Then enable the showing of hidden folders in files. psyduck;

The Window's command prompt sucks.
You forgot quotation marks since the path name contains spaces.

Feynman

Quote from: JMV290 on January 29, 2008, 05:30:02 PM
You forgot quotation marks since the path name contains spaces.


It still works. 

Daddy

Quote from: Bassir C. on January 30, 2008, 10:52:06 AM
It still works. 
It doesn't work if you don't include the quotes and there are spaces.

Feynman

Quote from: JMV290 on January 30, 2008, 12:05:50 PM
It doesn't work if you don't include the quotes and there are spaces.




oh whoops i forgot the quotes

Daddy


Feynman


Daddy

Quote from: Bassir C. on January 30, 2008, 02:04:44 PM
It works with or without the quotes.
not at school or on my pc or any other pc i used.

when i tried to use java -jar it doesn't work if i dont use quotes

Feynman

Quote from: JMV290 on January 30, 2008, 02:26:23 PM
not at school or on my pc or any other pc i used.

when i tried to use java -jar it doesn't work if i dont use quotes

oh

your computers suck

Go Up