Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
Credits 2,404 Posts 946 Joined 2005-09-08 13:44 20-year member UID 42345
Status Offline
In the following registry file:
1. C:\Program Files\Internet Explorer\iexplore.exe is the default opening method for BMP files! Suppose iexplore.exe is not on the C drive, can there be a general path expression for import?
2. C:\WINNT\NOTEPAD.EXE is the default opening method for ASP files. The current system is 2000, and for XP it is C:\WINDOWS. Can there also be a general path expression for import? Why doesn't %WINDIR% work?
Credits 5,226 Posts 1,737 Joined 2006-03-10 00:38 20-year member UID 51697 From 成都
Status Offline
Originally posted by electronixtar at 2006-9-20 08:20:
Just type iexplore directly. Try it if you don't believe it. Start / Run iexplore http://www.google.com
This only works in the Run line. It doesn't work in a batch file. The correct way is to use the start command to open a certain file. This command will call the default opening method to open your file.
Credits 2,404 Posts 946 Joined 2005-09-08 13:44 20-year member UID 42345
Status Offline
Originally posted by pengfei at 2006-9-20 08:15:
The owner tries it, which is iexplorer.exe in the program folder of the system disk
%ProgramFiles%\Internet Explorer\iexplore.exe
It works. Thank you. What about the second question?
Credits 2,404 Posts 946 Joined 2005-09-08 13:44 20-year member UID 42345
Status Offline
Originally posted by electronixtar at 2006-9-20 09:46:
Notepad works.
Still no good! I can open NOTEPAD.EXE in the Run dialog, and the batch file can also open NOTEPAD.EXE, but it doesn't work when importing into the registry!
Credits 2,404 Posts 946 Joined 2005-09-08 13:44 20-year member UID 42345
Status Offline
Originally posted by pengfei at 2006-9-20 09:52:
Try it %systemroot%\NOTEPAD.EXE
I don't know why the %windir% command doesn't work. Could it be that the楼主 has both systems installed on one disk?
If the above doesn't work, try this line:
set notepad=%Com ...
First, thank you for the reply from the expert. I didn't install two systems. Now I'm using 2K, but I have a GHOST XP system. I just want to have a registry backup so that I can import it later. But now I haven't found a registry entry that can be used for both systems!
Credits 1,218 Posts 485 Joined 2006-07-21 21:24 20-year member UID 58987 From 湖南.娄底
Status Offline
Originally posted by terse at 2006-9-20 10:14:
Thanks to the great experts for the reply first. I don't have two systems installed. Now I'm using 2K, but I have a GHOST XP system. I just want to have a registry backup, so that I can import it later...
For the open item associated with the registry, you only need to fill in the program name. The file path in the system directory is the default access value. When you open NOTEPAD.EXE, the system will automatically search in several default paths.
Credits 2,404 Posts 946 Joined 2005-09-08 13:44 20-year member UID 42345
Status Offline
Originally posted by pengfei at 2006-9-20 10:19:
The Open item in the registry association only needs to fill in the program name, and the file path in the system directory is the default access value. Opening NOTEPAD.EXE, the system will automatically search in several default paths.
[ Last edited b ...
It's really done. All problems are solved. Thank you, great guys! Can delete the post!
Credits 2,404 Posts 946 Joined 2005-09-08 13:44 20-year member UID 42345
Status Offline
Originally posted by pengfei at 2006-9-20 08:15:
The landlord try it, it is iexplorer.exe in the system disk program folder
%ProgramFiles%\Internet Explorer\iexplore.exe
Please help me, Pengfei, thank you! I tried importing yesterday and it was okay, but why did it go wrong when I imported today? 2 Just restore the registration to the state before importing yesterday!