本文介绍了在Batch File中重命名开始菜单快捷方式和桌面快捷方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是BATCH FILE创建新手,我一度陷入困境....我想重命名我的软件安装快捷方式。安装完成后,我在开始菜单快捷方式的快捷方式中说abc1.0.lnk toabc1.1.lnk....此外,我想将桌面快捷方式从abc1.0.lnk重命名为abc1.1.lnk....我用Google搜索但是尝试了自己,但没有成功....

我检查了我的C:\Document and Settings \ username \ abc.lnk,但在上面的指定链接中看不到桌面上的快捷方式...这是问题还是

我试过用

ren abc1.0.lnk abc1.1.lnk

也试了

renabc1.0.lnkabc1.1.lnk



ren abc1.0 abc1.1



所有这些都给了我语法命令错误....



如果您有任何想法重命名快捷方式,请建议。 ...

I am new to "BATCH FILE" creation and i am stuck at one point.... I want to rename my software installed shortcut.After installation i have my shortcut at the Start menu shortcut say "abc1.0.lnk" to "abc1.1.lnk".... Also the I want to rename desktop shortcut from "abc1.0.lnk" to "abc1.1.lnk"....I googled but tried myself but not having success....
I checked my "C:\Document and Settings\username\abc.lnk" but the shortcut that looks in desktop is not seen in the specified link above...Is this the problem and also
I tried using
ren abc1.0.lnk abc1.1.lnk
also tried
ren "abc1.0.lnk" "abc1.1.lnk"
And
ren abc1.0 abc1.1

All this were giving me the Syntax command error....

Please suggest if u have any idea to rename the shortcut....

推荐答案

CD\
C:
CD Users
CD USER_NAME
CD AppData
CD Roaming
CD Microsoft
CD Windows
CD Start Menu
Cd Programs
Cd My Program
Rename ad.ink ad1.ink
CD\
C:
CD Users
CD USER_NAME
CD Desktop
Rename ad.ink ad1.ink







你必须用登录的用户名替换USER_NAME



希望这有帮助,如果是,然后接受答案并投票,否则将回复您的疑问

--Rahul Dhoble




You have to replace "USER_NAME" with logged in Users name

Hope this helps if yes then accept the answer and vote it else revert back with your queries
--Rahul Dhoble


这篇关于在Batch File中重命名开始菜单快捷方式和桌面快捷方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-12 12:13