• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to create command line Interface

 
yogendra kumar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have to develop a program such that it can
add
move
rename
Delete
a file from particular Directory in JAVA. Now unfortunately I know this pretty good in C++ but now in Java.
so i want something

let say my class is regtool
so if user enter

c:\ regtool -add yogi.txt c:\Folder\Files\
it should add yogi.txt in that location.
same way for other things.

I would appreciate if someone can reply me soon, project deadline :-(
Thanks
Yogi
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what do you have so far?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!