为Cmd制作友好的用户界面 [英] Making a friendly user interface for Cmd

查看:67
本文介绍了为Cmd制作友好的用户界面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近不得不用cmd更改文件扩展名.您仅找到包含需要重命名的文件的文件夹,例如"ren * .jpg * .gif".
我想知道是否有人可以帮助我创建一个友好的c#应用程序,从而为用户提供一种使用此cmd工具的简便方法.

使用Visual Studio

I have recently had to change file extensions with cmd. You just find the folder with the files that need to be renamed for instance "ren *.jpg *.gif".
I was wondering if someone could help me create a friendly c# application that provides the user with an easy way to utilize this cmd tool.

Using Visual Studio

推荐答案

您不需要使用cmd工具.您可以编写自定义函数来重命名文件,例如使用 Move( )方法 [ ^ ]用于System.IO.
You don''t need to use cmd tool. You can write custom function to rename files, using - for example - Move() method[^] for System.IO.


这篇关于为Cmd制作友好的用户界面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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