从VFP 9.0中的命令窗口清除历史记录 [英] Clear the history from command window in VFP 9.0

查看:621
本文介绍了从VFP 9.0中的命令窗口清除历史记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近在工作时安装了vfp 9.0,系统有OS-10,我无法从命令窗口清除以前的历史记录


我们将非常感谢任何帮助!


< span style ="color:#333333; font-family:arial,sans-serif; font-size:14px"> pkbhat

解决方案

< blockquote>

清除历史记录的最简单方法是右键单击命令窗口,然后单击"清除"。之后退出VFP并重新启动。


VFP将命令窗口的状态保存到文件_command.prg中,并在启动vfp9时加载它。


它位于与资源文件foxuser.dbf相同的路径中,因此如果您有问题,它已变为只读,则更改foxpro资源文件的文件位置。


命令窗口内容和许多环境设置可能非常持久,即使使用"设置为默认值",也似乎不允许您更改它们。选项对话框的按钮是,当VFP在VM中运行时,为安全性
配置为永远不会在断电时存储状态,并在重新启动时重置为默认VM映像。我怀疑你是否处于这种情况,但只是你知道:如果事情似乎很顽固,那么总会出现意外行为的原因。事情可能就像
一样简单,因为_command.prg(和fixuser.dbf)位于你无法写入的文件夹中。


再见。奥拉夫。


I recently installed vfp 9.0 at work the system has OS-10 and I am unable to clear the previous history from command window

Any help will be greatly appreciated!

pkbhat

解决方案

The simplest way to clear history is right click on the command window, then click "clear". After that quit VFP and restart.

VFP saves the state of the command window into a file _command.prg and loads that when you start vfp9.

It's located in the same path as the resource file foxuser.dbf, so if you have a problem of it having become read only,  change file location of the foxpro resource file.

The command window content and many environmental settings can be very persistent and don't seem to allow you to change them even when using the "Set as Default" button of the options dialog is, when VFP runs in a VM, which is configured for security to never store it's state at poweroff and reset to a default VM image when being restarted. I doubt you're in that situation, but just so you know: If things seem to be stubborn, there always are reasons for an unexpected behaviour. Things might be as simple as _command.prg (and fixuser.dbf) is located in a folder you can't write to.

Bye. Olaf.


这篇关于从VFP 9.0中的命令窗口清除历史记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆