File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ls command is not working in command line

 
sam liya
Ranch Hand
Posts: 1240
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i tried several times , but it doesn't work.I have attached the screenshot also .
ls.jpg
ls
[Thumbnail for ls.jpg]
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The ls command is only for Linux, Mac OS X or other Unix-like operating systems. Use dir on Windows.
 
sam liya
Ranch Hand
Posts: 1240
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i need to change the directory.
but cd command is not working.

cd.jpg
cd
[Thumbnail for cd.jpg]
 
Paul Clapham
Sheriff
Pie
Posts: 20166
24
MySQL Database
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not only is there a "current directory", there's also a "current drive". And each drive has a current directory. If you want to change the current drive (which apparently you do) then you just type its name ("G:") at the command line. Then you can change the G drive's current directory.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
aruna sameera,
Your post was moved to a new topic.
 
Radhakrishna Sharma Gorenta
Ranch Hand
Posts: 63
Google App Engine Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Aruna,
follow these steps in your command prompt.
g: and press enter then you will see G:\
Then enter G:\cd Camstudio
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic