search for: getcurrentdirectory

Displaying 3 results from an estimated 3 matches for "getcurrentdirectory".

Did you mean: getcurrentdirectoryw
2007 Oct 04
0
Prototyping the Dir class
...HOME'', buf, buf.size) == 0 raise ArgumentError, ''USERPROFILE/HOME not set'' end end dir = buf.unpack("Z*")[0] end if block_given? begin buf = 0.chr * MAX_PATH if GetCurrentDirectory(buf.length, buf) == 0 raise ArgumentError, get_last_error else # MSDN says the drive letter could be dropped, # and that GetFullPathName should be called just in case. current = buf.unpack("Z*")[0]...
1998 Sep 22
0
strange _spawnl() and system() behavior with VC++ Pro 5.0
...m using _spawnl and system to run processes on a network drive. If my program runs something like system("unzip -l testfile.zip"), unzip actually looks for testfile.zip in the root of the drive rather than the current directory, although the current directory as returned by _getcwd() and GetCurrentDirectory() are correct. I've tried getting the current directory and setting it with SetCurrentDirectory to no avail. This occurs with WinNT commands like dir and type as well. Dir works correctly, but if it is piped to a file, the file is stored in the root directory. Type has the same problem with...
2003 Jul 16
2
Fatal error in SJava.
Dear r-helpers, I have been trying to invoke R from Java in a Windows 2000 computer (unfortunately). All my environment variables seem to be properly set, everything seems to be in order, but I obtaining a Fatal error: unable to open the base package error window. Also, the output of the invoker is Loading RInterpreter library R_HOME: R_HOME=C:/Programas/R RVersion: R_VERSION=1.6.1 whereas