簡體   English   中英

如何在 vdos 的 exe 文件中設置 autoexec.txt

[英]how to set autoexec.txt in exe file in vdos

我在使用 dos 模擬器程序時遇到問題。

exe和數據庫路徑如下:

  1. 路徑 exe : C:\Util\CAMUS.EXE
  2. 路徑數據庫:C:\STACK\ADMIN & C:\STACK\NOW

我將 VDos 和其他文件放在 util 文件夾中,但如果將堆棧文件夾移動到 util 文件夾,則會出現錯誤“驅動程序數據未准備好可能為空”,然后錯誤就會消失。 將數據庫路徑保持在現有位置的解決方案是什么? 我將 VDos 和其他文件放在 util 文件夾中,但如果將堆棧文件夾移動到 util 文件夾,則會出現錯誤“驅動程序數據未准備好可能為空”,然后錯誤就會消失。 將數據庫路徑保持在現有位置的解決方案是什么? 謝謝

@ECHO OFF

rem This is essentialy the autoexec.bat of DOS.
rem Only one additional vDos specific command is available: USE.

rem At startup only z: (bootdisk/command.com) is known by DOS.
rem So first you assign one or more DOS driveletters to Windows directories.
rem Use <driveletter:> <Windows directory>
rem Files/directories that don't confirm to the DOS 8.3 filenaming are hidden (as it should).

rem To just use the vDos working directory as c:
USE C: C:\Util\
c:
cd CAMUS.EXE
CAMUS.EXE

rem switch from z: to c:
C:
exit

截屏

@ECHO OFF

rem This is essentialy the autoexec.bat of DOS.
rem Only one additional vDos specific command is available: USE.

rem At startup only z: (bootdisk/command.com) is known by DOS.
rem So first you assign one or more DOS driveletters to Windows directories.
rem Use <driveletter:> <Windows directory>
rem Files/directories that don't confirm to the DOS 8.3 filenaming are hidden (as it should).

rem To just use the vDos working directory as c:
USE C: C:\
c:
cd C:\UTIL
CAMUS.EXE

rem switch from z: to c:
C:
exit

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM