如何在tiptop 4GL程序中判断客户端机器某个文件是否存在
2015-07-24 11:11
411 查看
![](http://static.blog.csdn.net/xheditor/xheditor_emot/default/tongue.gif)
上代码:
DEFINE cmd STRING DEFINE ok BOOLEAN #检查客户端某个文件是否存在 LET filename ='c:/test.txt' LET cmd = SFMT('cmd /C "if exist %1 (exit 0) else (exit 1)"',filename) CALL ui.Interface.frontCall("standard","execute",[cmd,1],[ok]) RETURN ok
![](http://static.blog.csdn.net/xheditor/xheditor_emot/default/struggle.gif)
![](http://static.blog.csdn.net/xheditor/xheditor_emot/default/struggle.gif)
![](http://static.blog.csdn.net/xheditor/xheditor_emot/default/struggle.gif)
相关文章推荐
- 关于OpenGL中glut32.lib库配置的问题(待解决)
- 《转》OpenStack Ceilometer 安装配置和API说明
- CentOS下mysql默认安装位置
- Linux的run-level:
- Linux CentOS6.5 防火墙 端口 操作 打开 关闭
- [前端架构]写在前面的话
- Linux中的内存管理
- linux下查看服务器型号
- web 环境项目(intellj部署的tomcat) 重启时报 Exception in thread "HouseKeeper" java.lang.NullPointerException
- Linux 文件系统的目录结构
- linux查看硬件信息及驱动设备相关整理
- 网站对$ua->agent("Mozilla/8.0")的校验
- 基于corosync+pacemaker+drbd+LNMP做web服务器的高可用集群
- Embedded Linux Conference Europe schedule posted
- Linux 多线程编程中的多参数传递
- Linux如何查看硬件信息
- Linux umount 报 device is busy 的处理方法
- linux shell 模拟post请求
- CentOS 6.6下PXE+Kickstart无人值守安装操作系统
- 【学习笔记】Linux的命令总结(四)