wsh
Creating directory preserving name case
By Sergey - Posted on February 15th, 2008
MSDN:
- CreateDirectory function - Creates a new directory one level at a time
- SHCreateDirectory function - Creates a new directory including all intermediate folders, if necessary
- CreateFolder Method - WSH
- NewFolder Method - Shell
Returning UNC Path associated with a local device
By Sergey - Posted on January 1st, 2008
MSDN links:
Opening URL in default Web Browser
By Sergey - Posted on January 1st, 2008
Launching Windows Explorer for Specified Drive, Folder or File
By Sergey - Posted on January 1st, 2008
File date and time
By Sergey - Posted on January 1st, 2008
Code below shows how to retrieve file date and time using native VFP commands or WSH.
For Windows API based solution that also allows to set file date and time, see George Tasker's
Windows Time hosted on http://www.UniversalThread.com.
MSDN links:
WSH FileSystemObject Object
WSH File Object
Creating System Environment Variables
By Sergey - Posted on January 1st, 2008
Copy, Move, Rename File Preserving Destination Name Case
By Sergey - Posted on January 1st, 2008
The CopyFile() and MoveFile() WIN API functions preserve the case of the name for the destination file. Alternatively, WSH can be used.
The source and destination file names should include the directory name in both cases.
Changing Windows default printer
By Sergey - Posted on January 1st, 2008
Recent comments
2 weeks 18 hours ago
2 weeks 1 day ago
2 weeks 1 day ago
5 weeks 1 day ago
9 weeks 6 days ago
9 weeks 6 days ago
10 weeks 4 days ago
11 weeks 3 days ago
12 weeks 5 days ago
12 weeks 6 days ago