|
Post by theulimateunltd on Oct 28, 2021 0:46:11 GMT -5
Hi all, I'm making an editor. I want to start a given file in the editor. For example notepad.exe myfiletoedit.txt This opens myfiletoedit.txt in notepad. How do I get my libertybasic program to acccept the argument myfiletoedit.txt ? Other example: www.youtube.com/watch?v=NdLtauXZdAA
|
|
|
Post by Rod on Oct 28, 2021 2:24:24 GMT -5
Run notepad.exe myfiletoedit.txt
If the file name contains spaces you will need to wrap it in quote characters.
You may also search out examples of using the command line argument when an icon is clicked. You need to tell us a bit more detail of how you want to start the editor and where you want it to get the file name from.
|
|
|
Post by tsh73 on Oct 28, 2021 2:28:04 GMT -5
|
|
|
Post by theulimateunltd on Oct 28, 2021 14:51:08 GMT -5
|
|