欧美一级特黄大片做受成人-亚洲成人一区二区电影-激情熟女一区二区三区-日韩专区欧美专区国产专区

win7當(dāng)前目錄創(chuàng)建快捷方式-創(chuàng)新互聯(lián)

注:bat腳本使用ANSI編碼

成都創(chuàng)新互聯(lián)公司提供高防主機(jī)、云服務(wù)器、香港服務(wù)器、綿陽(yáng)服務(wù)器托管
  1. 第一種

@ echo off

cd /d %~dp0

set onepath=%cd%

echo -----------------create file and cat----------------------------

for /l %%i in (1 1 10) do echo "this is test for test-%%i" >>testfile.txt

type testfile.txt

tree

echo -----------------create file link----------------------------------

set sourcefile=%onepath%\testfile.txt

echo [InternetShortcut] >>testfile.url

echo URL="%sourcefile%" >>testfile.url

echo IconIndex=0 >> testfile.url

echo IconFile="%onepath%\testfile.txt%" >>testfile.url

echo %errorlevel%

pause

2.第二種

@ echo off

color 0a

set onepath=%cd%

echo -----------------create file and cat----------------------------

for /l %%i in (1 1 10) do echo "this is test for test-%%i" >>testfile.txt

type testfile.txt

tree

echo -----------------create file link----------------------------------

::設(shè)置程序或文件的完整路徑(必選)

set sourcefile=%onepath%\testfile.txt

::設(shè)置快捷方式名稱(必選)

set LnkName=testfile

::設(shè)置程序的工作路徑,一般為程序主目錄,此項(xiàng)若留空,腳本將自行分析路徑

::set WorkDir=

::設(shè)置快捷方式顯示的說(shuō)明(可選)

set Desc=測(cè)試

(echo Set WshShell=CreateObject("WScript.Shell"^)

echo strDesKtop=WshShell.SpecialFolders("%onepath%"^)

echo Set oShellLink=WshShell.CreateShortcut("%onepath%" ^&"\%LnkName%.lnk"^)

echo oShellLink.TargetPath="%sourcefile%"

echo oShellLink.WorkingDirectory="%onepath%"

echo oShellLink.WindowStyle=1

echo oShellLink.Description="%Desc%"

echo oShellLink.Save)>makelnk.vbs

makelnk.vbs

del /f /q makelnk.vbs

::exit

if %errorlevel%==0 (

  echo create file link success!

)

echo ---------------------------------------create dir link-------------------------------

tree %onepath%

pause

3. 舉例文件與文件夾均創(chuàng)建快捷方式

@ echo off

title bat to dir or file test

color 0a

cd /d %~dp0

set onepath=%cd%

echo -----------------------date:%date%-----------------------------

echo %date% >> testfile.txt

echo -----------------------time:%time%-----------------------------

echo %time% >> testfile.txt

echo -----------------create file and cat----------------------------

for /l %%i in (1 1 10) do echo "this is test for test-%%i" >>testfile.txt

type testfile.txt

echo -----------------create dir testdir----------------------------------

md testdir

tree

echo ------------------move testfile to testdir--------------------------

move testfile.txt %onepath%\testdir

echo ------------------rename testdir testdir1------------------------

move testdir testdir1

echo -------------------cd testdir1----------------------------------

cd %onepath%\testdir1

echo ------------------rename testfile.txt testfile1.txt------------------

move testfile.txt testfile1.txt

echo -------------------copy testfile1.txt testfile1.bak------------------

copy testfile1.txt testfile.bak

echo --------------------move testdir1/testfile1.txt to %onepath%--------

move testfile1.txt %onepath%

echo ------------------cd %onepath%-----------------------------

cd %onepath%

echo ------------------list %onepath%---------------------------

tree %onepath%

echo -------------------create link--------------------------------------

::set var delay

setlocal EnableDelayedExpansion

for %%a in (testfile1.txt testdir1) do (

  echo "star create link"

(echo Set WshShell=CreateObject("WScript.Shell"^)

  echo strDesKtop=WshShell.SpecialFolders("%onepath%"^)

  echo Set oShellLink=WshShell.CreateShortcut("%onepath%" ^&"\%%a-test.lnk"^)

  echo oShellLink.TargetPath="%onepath%\%%a"

  echo oShellLink.WorkingDirectory="%onepath%"

  echo oShellLink.WindowStyle=1

echo oShellLink.Save)>makelnk.vbs

  makelnk.vbs

if %errorlevel%==0 (

    echo "create  %%a link success!"

  )

::type makelnk.vbs

del /f /q makelnk.vbs

)

if %errorlevel%==0 (

  echo "create  all link success!"

)

echo -------------list %onepath% structure---------

tree %onepath%

echo -------------dir %onepath%---------

dir %onepath%

pause

另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)scvps.cn,海內(nèi)外云服務(wù)器15元起步,三天無(wú)理由+7*72小時(shí)售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國(guó)服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡(jiǎn)單易用、服務(wù)可用性高、性價(jià)比高”等特點(diǎn)與優(yōu)勢(shì),專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場(chǎng)景需求。

文章名稱:win7當(dāng)前目錄創(chuàng)建快捷方式-創(chuàng)新互聯(lián)
文章出自:http://www.aaarwkj.com/article48/dpeshp.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供定制網(wǎng)站域名注冊(cè)、響應(yīng)式網(wǎng)站、網(wǎng)站維護(hù)營(yíng)銷型網(wǎng)站建設(shè)、電子商務(wù)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)

小程序開發(fā)
东京成人热av男人的天堂| 末满18周岁禁止观看| 国产精品国产成人免费看| 中国成熟女人毛茸茸视频| 亚洲国产成人精品福利| 精品日韩av高清一区二区三区| 中文字幕日韩av综合在线| 亚洲中文字幕乱码一二三| 亚洲激情人妻小说网| 国产精品99久久久久久人| 欧美日韩精品一区二区在线播放| 亚洲精品伦理中文字幕| 国产日韩手机在线不卡视频| 精品亚洲第一区二区免费在线| 欧美成人精品高清在线| 日本亚洲精品在线观看| 黑人一区二区三区在线| 天天干夜夜泡天天操| 91黄色国产在线播放| 一区二区亚洲国产精品| 国产成人免费视频一区| 国产福利三级在线观看| 色综合久久综合香梨网| 欧美日韩美足一区二区| 欧美一区二区三区十区| 日韩一二区不卡在线视频| 日韩一区二区亚洲精品| 91久久精品国产免费一区| 国产一区二区三区不卡av| 成人性生活黄色三级视频| 亚洲av日韩av一区| 国产性色精品一区二区| 亚洲婷婷综合精品五月天| 午夜视频在线观看91| 久久国产精品一区免费观看| 国产日韩一区二区三区电影| 一区二区三区毛片免费| 日韩激情一区二区三区| 国产精品推荐不卡一区| 国产白丝诱惑在线视频| 一区二区先锋深夜中文字幕|