简体   繁体   English

使用C#进行Unidata文件操作

[英]Unidata File Manipulation with C#

I have a windows server with Unidata running. 我有一台运行Unidata的Windows服务器。 I need to write a C# program that will manipulate a file and save out. 我需要编写一个C#程序来操作文件并保存。

The way I currently have to do it involves going into udt. 我目前必须这样做的方法涉及进入udt。 I have tried looking at just manipulating the file itself, but doubt it would save correctly. 我曾试图只是操纵文件本身,但怀疑它会正确保存。

To start: 开始:

D:\\u2\\ud73\\demo d:\\ U2 \\ ud73 \\演示

udt It replies with: Envision Initialized....type in password. udt它回复:Envision Initialized ....输入密码。

:AE VOC LOGIN....(make changes and then type FI to save out) :AE VOC LOGIN ....(进行更改,然后键入FI以保存)

Question is there a way to manipulate the file with C# and save it without going into udt at all? 问题是有没有办法用C#操作文件并保存它而不进入udt?

Thanks in advance... 提前致谢...

Seems like overkill, using C# to edit the VOC file. 似乎有点过分,使用C#编辑VOC文件。

What are you trying to accomplish? 你想达到什么目的?

Is there a reason you do not what to do this from the UniData ECL prompt? 您是否有理由不从UniData ECL提示中执行此操作?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM