Immensee Posted June 23, 2008 Share Posted June 23, 2008 Hiya, please help me with this simple question: how can i open a specific file with notepad, using the run (not necessarily though)? thanks for watching, immense Link to comment Share on other sites More sharing options...
Valuater Posted June 23, 2008 Share Posted June 23, 2008 ShellExecute use the associated file with the program ShellExecute("C:\test.txt") this opens the text.txt. file in notepad ( on my computer ) 8) PsYcHoPaTz 1 Link to comment Share on other sites More sharing options...
Immensee Posted June 23, 2008 Author Share Posted June 23, 2008 oh i know that... sorry, i wasn't clear enough I meant that the file that i want to open is named "data.ab1" for example. Since .ab1 isn't seen as a text file, how can i still manage to open the file with notepad.exe ? Do you know that but thanks for helping me immense Link to comment Share on other sites More sharing options...
Richard Robertson Posted June 23, 2008 Share Posted June 23, 2008 Have you tried Run("notepad.exe somefile.ext") ? PsYcHoPaTz 1 Link to comment Share on other sites More sharing options...
Immensee Posted June 23, 2008 Author Share Posted June 23, 2008 Have you triedRun("notepad.exe somefile.ext")?Huh does that work?I'll try . . . . . . .Wow, it worked XD Didn't knew that was possible hehehThanks man ,immense Link to comment Share on other sites More sharing options...
Richard Robertson Posted June 23, 2008 Share Posted June 23, 2008 Why wouldn't it work? It's called a command line. That's how files are opened when they aren't processed through DDE. Link to comment Share on other sites More sharing options...
Immensee Posted June 23, 2008 Author Share Posted June 23, 2008 Why wouldn't it work? It's called a command line. That's how files are opened when they aren't processed through DDE.This Run cmd resembles the command.exe commands, and I'm not familiar with these kind of stuff.Didn't knew that run could pass other things too.I only know website codes like html, php, javascript and css and only autoit language But many thanks for your help! now i can help my mom for her address book for her restaurant .immense Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now