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

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://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一二三区竹菊| 一本久久综合亚洲鲁鲁五月天| 亚洲黄色av在线免费观看| 麻豆视传媒官网免费观看| av在线成人国产精品欧美| 精品视频美女肉体亚洲| 深夜十八禁在线免费观看| 91午夜福利视频免费播放| 中文字幕乱码亚洲2019| 日本免费一区中文字幕| 青青草原网址在线观看| 欧美日韩国产精品高清| 日本一区二区免费高清不卡| 神马影院在线观看午夜| 欧美日韩电影一区二区三区| 日本加勒比高清在线播放| 中文字幕日韩av综合在线| 亚洲一区二区精品偷拍| 国产精品久久99真精品| 四虎永久播放地址免费| 成人av高清在线观看| 中文字幕精品一区二区介绍| 欧美日韩综合人妻丝袜偷拍| 亚洲av产在线精品亚洲第| 色在色在线播放亚洲中文| 最近免费欧美一级黄片| 国产亚洲欧美成人精品久久| 国产成人久久久精品一区| 亚洲成a人片777777久久| 国产三级自拍视频在线观看网站 | 一区二区三区免费视频少妇| 日韩欧美国产综合一区二区| 青青草成年人免费视频| 久久国产精品成人免费蜜臀| 国产精品 亚洲精品| 丁香婷婷综合激情五月| 欧美国产日韩在线一区二区三区| 亚洲欧美日韩一区二区视频|