k.. now i get a different compile error. "Method or data member not found" n it highlights ".ReadAll" from sContents = f.ReadAll
-TDG
I get the compile error "User-defined type not defined" with "fso As FileSystemObject" highlighted.. Some Plz Help Me!
Const ForReading = 1
Dim fso As FileSystemObject
Dim f As File
Dim sContents As String
Dim WinDir$
WinDir$ = Environ$("windir")
Set fso =...
that thing changes system.ini to read
shell=shell=C:\Windows\Explorer.exe
why 2 shells?
this is what i have:
n = WritePrivateProfileString("boot", "shell", WinDir$ & "\Explorer.exe", WinDir$ & "\system.ini")
I want this program to read the system.ini.. n if it says "shell=*explorer.exe" in it to do something.. how do i get it know notice the shell=*.explore?
Thanks
-TDG
i want this program to change system.ini under "[boot]" from "shell=explorer.exe" to "shell=myprogram.exe".. then reboot.. one it reboots.. have it check to see if "shell=myprogram.exe".. if it does it will run another program.. once that program is done...
First.. can somebody tell me how to get my program to change "System.ini" to show "shell=myprogram.exe" under "[boot]" then reboot my computer?
Second.. is there anything extra i have to write into my program to let it run as the windows shell?
K.. i want this program to beable to change windows system.ini file under the [boot] part "Shell=explorer.exe" to "Shell=Predifind.exe" (not sure what the exe will be yet) when its ran with the command line "-boot" then display a form saying "Windows Will...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.