如何写一个注册表编辑器键值移动文件,而无需打开控制台 [英] how to write a regedit key's value to move a file without opening console
本文介绍了如何写一个注册表编辑器键值移动文件,而无需打开控制台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想写这从一个位置移动一个文件到某一固定位置的注册表编辑器键值。
下面是它的值:
I want to write a regedit key value which moves a file from one location to some fixed location. Following is the value for it:
cmd.exe /k %1 D:\MyLocation
但仍然是移动后的文件是一个开放的控制台。
请提出一个办法做到这一点,而无需一个控制台。
But what remains after moving file is an opened console. Please suggest a way to do this without having a console.
推荐答案
CMD / K
保持控制台执行后打开,而 CMD / C
关闭
cmd /K
keeps console open after execution while cmd /C
close it
这篇关于如何写一个注册表编辑器键值移动文件,而无需打开控制台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文