Opens a file for editing.  


When the file has a ".csv" suffix, it will open in Excel, or other spreadsheet program that is assigned to file with this suffix type.

When the file has a ".txt" suffix, it will open in a text-editor like Notepad, or any other text editing program that is assigned this suffix type.



EditFile( "FileToOpen" )





Disk location and file name to open.  File information can be text, or the String variable containing the file's name and disk location.



' File will open in the default software assigned to files with a ".htm" suffix.
EditFile( "c:\corr3.htm" )
EditFile( "c:\Test.csv" ) ' Will open in Excel, or a spreadsheet as assigned in windows.
EditFile( "c:\Test.txt" ) ' Will open in Notepad, as assigned in windows.


No return.



CopyFile, DeleteFile, Extract, FileExists, FileSize, MoveFile, OpenFile

See Also:

General, File & Disk


Edit Time: 5/10/2017 9:44:30 AM

Topic ID#: 271


Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software