首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在vdos中的exe文件中设置autoexec.txt

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

Stack Overflow用户
提问于 2022-07-09 13:08:18
回答 1查看 89关注 0票数 0

我在使用dos模拟器程序时遇到了问题。

exe和数据库路径如下:

  1. 路径执行程序: C:\Util\CAMUS.EXE
  2. 路径数据库:C:\堆栈\ADMIN&C:\堆栈\NOW

VDos和其他我放在util文件夹中的文件,但是如果我的堆栈文件夹被移动到util文件夹中,则会出现一个错误“驱动程序数据可能是空的”。将数据库路径保持在现有位置的解决方案是什么?VDos和其他我放在util文件夹中的文件,但是如果我的堆栈文件夹被移动到util文件夹中,则会出现一个错误“驱动程序数据可能是空的”。将数据库路径保持在现有位置的解决方案是什么?谢谢

代码语言:javascript
复制
@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

屏幕截图

EN

回答 1

Stack Overflow用户

发布于 2022-07-11 12:09:24

这是一个链接

代码语言:javascript
复制
@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
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/72921619

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档