搜索
编程论坛
→
数据库技术
→
『 VFP论坛 』
→ [求助]如何利用vfp确定相对路径
标题:
[求助]如何利用vfp确定相对路径
只看楼主
tjf21991
等 级:
新手上路
帖 子:2
专家分:0
注 册:2004-12-18
楼主
问题点数:0 回复次数:5
[求助]如何利用vfp确定相对路径
我的程序是在
d:
盘上编写的,可是由于是用的绝对路径,现在不能在别的路径下运行,望高手指点,如何求相对路径?
搜索更多相关主题的帖子:
vfp
路径
2004-12-18 17:46
tzhtang
等 级:
新手上路
帖 子:888
专家分:0
注 册:2004-8-30
第
2
楼
得分:0
开发之时就应使用相对路径:首先将VFP的默认路径设置为你的程序所在路径(VFP菜单Tools-->ptions-->File Locations 内的 Default Directory启用并改成你的程序所在路径.),写程序时直接调用文件即可.
2004-12-20 10:36
光明使者
等 级:
新手上路
帖 子:16
专家分:0
注 册:2004-12-24
第
3
楼
得分:0
使用“MYPATH=LEFT(SYS(16),RAT("\",SYS(16)))”试一试,可以提取当前路径。
2004-12-24 08:30
adamschou
等 级:
新手上路
帖 子:12
专家分:0
注 册:2005-1-24
第
4
楼
得分:0
mydrive=sys(5)+sys(2003)即可
/bbs/vitget.asp?id=4642" target="_blank">
/images/files/LOGO.GIF" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://www.meizibbs./images/files/LOGO.GIF');}" onmousewheel="return imgzoom(this);" alt="" />
/get.asp?get=adamschou" target="_blank">
/ads/banner_ads.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://www./ads/banner_ads.gif');}" onmousewheel="return imgzoom(this);" alt="" />
foxpro的经典论坛
2005-01-24 23:55
pjq49
等 级:
新手上路
帖 子:41
专家分:0
注 册:2005-4-4
第
5
楼
得分:0
set default to 路径
就哦哦了!!!
2005-04-12 13:24
zfk1970
等 级:
新手上路
帖 子:71
专家分:0
注 册:2010-12-2
第
6
楼
得分:0
和“workPATH=LEFT(SYS(16),RAT("\",SYS(16)))”有何区别
2010-12-07 15:24
6
1/1页
1
参与讨论请移步原网站贴子:
https://bbs.bccn.net/thread-9585-1-1.html
关于我们
|
广告合作
|
编程中国
|
清除Cookies
|
TOP
|
手机版
编程中国
版权所有,并保留所有权利。
Powered by
Discuz
, Processed in 0.570467 second(s), 7 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved