Jeffrey Morlan 39934ca5e2 cmd_move:
- Only check for options at the beginning of the command line (subsequent code already assumed the filenames were at the end).
- Give an error message if too many parameters are given.
- If no destination is given, default to current directory.
- Replace excessively complicated code to get source directory with single GetFullPathName call; hopefully that is sufficient. Check for pszFile == NULL to prevent crash that occurred when source was "/..".
- To determine whether source wildcard matches are files or directories, just use WIN32_FIND_DATA's dwFileAttributes; it's easier than constructing paths to pass to IsExistingFile/IsExistingDirectory.
- Fix memory leaks: some returns were missing freep(arg).

svn path=/trunk/; revision=38910
2009-01-18 20:21:03 +00:00
2009-01-18 20:21:03 +00:00
2009-01-18 18:40:02 +00:00
Description
A free Windows-compatible Operating System 免费的Windows兼容操作系统
1.2 GiB
Languages
C 86.6%
C++ 10.6%
Python 0.7%
Assembly 0.5%
CMake 0.5%
Other 0.8%