File not found
Hello!
I'm using Windows and I want to know how should I do to make the system to
search in the same directory
as the project file or exe file when looking for a filename. I don't want to
have to specify the whole path when looking for the file. For example like I
do here I don't want to have to specify this whole path I just want to be
able to specify
the filename "accountFile.txt".
input = new BufferedReader( new FileReader("C:/Documents and
Settings/Tony/kau/java/lab4b_MS/accountFile.txt") );
//Tony
.
Relevant Pages
- Re: JNI HELP
... i.e. somewhere in your LD_LIBRARY_PATH (unices) or PATH (windows). ... Make sure that the library has the right filename, ... and specify the complete path and filename. ... (comp.lang.java.programmer) - Re: ASM objects?
... > Mind explaining what Borland's OWL is about? ... "Microsoft" is written multiple times on the Windows loading screen (it ... endianness thereafter... ... smart to specify and when it's actually far, ... (alt.lang.asm) - Re: Recycle Bin Error.
... In My Computer or Windows Explorer, right-click the volume you want to ... [[The disk check could not be performed because the disk check utility needs ... You have to reboot for Error-checking to run. ... Specify a different file name. ... (microsoft.public.windowsxp.help_and_support) - Re: Windows Version numbers for Windows 2008
... to specify the size of the structure. ... backwards compatibility among versions of Windows. ... Also, if I add extra members to the structure, like ... Pointer to an OSVERSIONINFO data structure that the function ... (microsoft.public.vb.winapi) - Re: Rip audio from USB CD device?
... Specify GENERIC_READ in CreateFile. ... In Windows 2000, Windows Media Player uses cdral.dll for CD recording, ... > with administrator rights and no other process can use the device, ... > accessing the same CD device and not using third party drivers/software. ... (microsoft.public.win32.programmer.mmedia) |
|