Hi,
I want to process file that is located in system files. My code takes this file as a parameter, but how can I process the file directly since it locates in different drive -- not in the same directory where I have my code.
Hi,
I want to process file that is located in system files. My code takes this file as a parameter, but how can I process the file directly since it locates in different drive -- not in the same directory where I have my code.
Including the drive, as in
You don't need to do anything special to your function.Code:process_file("C:\\Windows\\notpad.exe");
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.