Boyah Forums

General => The Lobby => Topic started by: CHAOS66 on January 28, 2008, 06:55:01 PM

Title: Command Prompt (yes XP)
Post by: CHAOS66 on January 28, 2008, 06:55:01 PM
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
Title: Re: Command Prompt (yes XP)
Post by: Squirtlejazz on January 28, 2008, 07:02:43 PM
Why don't you do it without using the prompt?
Title: Re: Command Prompt (yes XP)
Post by: CHAOS66 on January 28, 2008, 07:07:07 PM
For "educational purposes." What if some day I have to delete a hidden file/folder?
Title: Re: Command Prompt (yes XP)
Post by: Squirtlejazz on January 28, 2008, 07:09:57 PM
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?
Title: Re: Command Prompt (yes XP)
Post by: CHAOS66 on January 28, 2008, 07:13:27 PM
Quote from: Squirtlejazz on January 28, 2008, 07:09:57 PM
Oh like jedi pron?
lulz yeah why not
Title: Re: Command Prompt (yes XP)
Post by: Daddy on January 28, 2008, 08:54:55 PM
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



Title: Re: Command Prompt (yes XP)
Post by: Feynman 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.

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.
Title: Re: Command Prompt (yes XP)
Post by: Daddy on January 29, 2008, 05:30:02 PM
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.
Title: Re: Command Prompt (yes XP)
Post by: Feynman on January 30, 2008, 10:52:06 AM
Quote from: JMV290 on January 29, 2008, 05:30:02 PM
You forgot quotation marks since the path name contains spaces.


It still works. 
Title: Re: Command Prompt (yes XP)
Post by: Daddy on January 30, 2008, 12:05:50 PM
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.
Title: Re: Command Prompt (yes XP)
Post by: Feynman on January 30, 2008, 01:57:50 PM
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.


(http://img166.imageshack.us/img166/6278/78827467wy0.png)

oh whoops i forgot the quotes
Title: Re: Command Prompt (yes XP)
Post by: Daddy on January 30, 2008, 02:02:02 PM
Quote from: Bassir C. on January 30, 2008, 01:57:50 PM
(http://img166.imageshack.us/img166/6278/78827467wy0.png)

oh whoops i forgot the quotes
wtf

Title: Re: Command Prompt (yes XP)
Post by: Feynman on January 30, 2008, 02:04:44 PM
Quote from: JMV290 on January 30, 2008, 02:02:02 PM
wtf




It works with or without the quotes.
Title: Re: Command Prompt (yes XP)
Post by: Daddy on January 30, 2008, 02:26:23 PM
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
Title: Re: Command Prompt (yes XP)
Post by: Feynman on January 30, 2008, 02:27:04 PM
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
Title: Re: Command Prompt (yes XP)
Post by: Daddy on January 30, 2008, 02:37:33 PM
Quote from: Bassir C. on January 30, 2008, 02:27:04 PM
oh

your computers suck
i would think the fact that they run windows would make it obvious.
Title: Re: Command Prompt (yes XP)
Post by: Feynman on January 30, 2008, 02:40:23 PM
Quote from: JMV290 on January 30, 2008, 02:37:33 PM
i would think the fact that they run windows would make it obvious.


oh

some macs run windows
Title: Re: Command Prompt (yes XP)
Post by: Daddy on January 30, 2008, 02:42:20 PM
Quote from: Bassir C. on January 30, 2008, 02:40:23 PM
oh

some macs run windows
transitive property would make those macs suck.