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

How to include full file path in io?

 
Hemant Agarwal
Ranch Hand
Posts: 138
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Why is this error coming? I want to give complete path not a shorter one.
What is the other way?
 
Sri Ram
Ranch Hand
Posts: 118
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Why is this error coming? I want to give complete path not a shorter one.
What is the other way?



document and settings has space in between.
U cannot give file names with space inbetween. Give the dos names for those dir and then execute the program.
 
Hemant Agarwal
Ranch Hand
Posts: 138
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't want to give dos names.
Is any other way???
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't have a Windows machine in front of me, but try it with an "s" at the end of "document."
[ December 12, 2005: Message edited by: marc weber ]
 
Sri Ram
Ranch Hand
Posts: 118
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by marc weber:
I don't have a Windows machine in front of me, but try it with an "s" at the end of "document."

[ December 12, 2005: Message edited by: marc weber ]


AAh, i didnt see it,
yes its Documents and Settings with a S.
 
Jeff Albertson
Ranch Hand
Posts: 1780
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sri Ram:

U cannot give file names with space inbetween.


Just to reiterate, "u" can give file names with spaces!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic