aspose file tools*
The moose likes General Computing and the fly likes ls command is not working in command line Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "ls command is not working in command line" Watch "ls command is not working in command line" New topic
Author

ls command is not working in command line

sam liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1223
i tried several times , but it doesn't work.I have attached the screenshot also .



[Thumbnail for ls.jpg]

Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14350
    
  22

The ls command is only for Linux, Mac OS X or other Unix-like operating systems. Use dir on Windows.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
sam liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1223
i need to change the directory.
but cd command is not working.




[Thumbnail for cd.jpg]

Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18909
    
    8

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

Joined: May 14, 2008
Posts: 5843
    
    7

aruna sameera,
Your post was moved to a new topic.


JBoss In Action
rk sharma
Ranch Hand

Joined: Jun 25, 2011
Posts: 50

Hello Aruna,
follow these steps in your command prompt.
g: and press enter then you will see G:\
Then enter G:\cd Camstudio


Regards,

RK
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ls command is not working in command line