log in | register | forums
Show:
Go:
Forums
Username:

Password:

User accounts
Register new account
Forgot password
Forum stats
List of members
Search the forums

Advanced search
Recent discussions
- Elsear brings super-fast Networking to Risc PC/A7000/A7000+ (News:)
- Latest hardware upgrade from RISCOSbits (News:)
- RISCOSbits releases a new laptop solution (News:4)
- Announcing the TIB 2024 Advent Calendar (News:2)
- RISC OS London Show Report 2024 (News:1)
- Code GCC produces that makes you cry #12684 (Prog:39)
- Rougol November 2024 meeting on monday (News:)
- Drag'n'Drop 14i1 edition reviewed (News:)
- WROCC November 2024 talk o...ay - Andrew Rawnsley (ROD) (News:2)
- October 2024 News Summary (News:3)
Latest postings RSS Feeds
RSS 2.0 | 1.0 | 0.9
Atom 0.3
Misc RDF | CDF
 
View on Mastodon
@www.iconbar.com@rss-parrot.net
Site Search
 
Article archives
Acorn Arcade forums: Programming: Bash "cd" command
 
  Bash "cd" command
  Kinetic (16:29 8/10/2003)
  mavhc (19:51 8/10/2003)
    Hertzsprung (08:53 9/10/2003)
  ksattic (22:11 8/10/2003)
    Kinetic (06:48 9/10/2003)
 
Andrew Duffell Message #47076, posted by ad at 16:29, 8/10/2003

Posts: 3262
How do I do a space in a cd command? It just curs off what I write at the space.

cd Program Files goves an error saying "'Program' was not found"
  ^[ Log in to reply ]
 
Mark Scholes Message #47079, posted by mavhc at 19:51, 8/10/2003, in reply to message #47076
Member
Posts: 660
How do I do a space in a cd command? It just curs off what I write at the space.

cd Program Files goves an error saying "'Program' was not found"
cd "Program Files" or cd Program\ Files I assume
  ^[ Log in to reply ]
 
Simon Wilson Message #47082, posted by ksattic at 22:11, 8/10/2003, in reply to message #47076
ksattic
Finally, an avatar!

Posts: 1291
How do I do a space in a cd command? It just curs off what I write at the space.

cd Program Files goves an error saying "'Program' was not found"
What Mark said, or type "cd Pro" and then press tab to auto-complete (assuming "Pro" is a unique for the first three letters in the filename).
  ^[ Log in to reply ]
 
Andrew Duffell Message #47084, posted by ad at 06:48, 9/10/2003, in reply to message #47082

Posts: 3262
Thanks, I'll try it later :)
  ^[ Log in to reply ]
 
James Shaw Message #47087, posted by Hertzsprung at 08:53, 9/10/2003, in reply to message #47079
Hertzsprung
Ghost-like

Posts: 1746
How do I do a space in a cd command? It just curs off what I write at the space.

cd Program Files goves an error saying "'Program' was not found"
cd "Program Files" or cd Program\ Files I assume
If you press <Tab> while, or after typing the file name, bash should automatically escape characters that need it.
  ^[ Log in to reply ]
 

Acorn Arcade forums: Programming: Bash "cd" command