不确定合汝原意...
- (defun c:hh ()
- (setq f (open "F:\昌立线束软件/gx.reg" "W"))
- (write-line "Windows Registry Editor Version 5.00" f)
- (write-line "" f)
- (write-line
- "[HKEY_CURRENT_USER\\Software\\Autodesk\\AutoCAD\\R17.1\\ACAD-6001:804\\Profiles\\<<未命名配置>>\\Dialogs\\Appload\\Startup]"
- f
- )
- ;; (write-line ""forceguest"=dword:00000000" f)
- (write-line ""NumStartup"="2"" f)
- (write-line
- ""1Startup"="F:\\\\昌立线束软件[url=]\\\\bom.lsp\[/url]""
- f
- )
- (write-line
- ""2Startup"="F:\\\\昌立线束软件[url=]\\\\EF_Library.lsp\[/url]""
- f
- )
- (write-line "" f)
- (close f)
- (vl-registry-write
- "HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R17.1\ACAD-6001:804\Profiles\<<未命名配置>>\Dialogs\Appload\Startup"
- "forceguest"
- 0
- )
- ;; (startapp "regedit.exe" "gx.reg")
- )
|