爱问知识人 爱问教育 医院库

帮忙解释一下del

首页

帮忙解释一下del

帮忙解释一下del /f /s /q %systemdrive%\*.tmp谁能帮忙解释一下del /f /s /q %systemdrive%\*.tmp这个bat文件中的语句。尤其是这里的f,s,q,三个字母起什么作用。不用这几个字母行么?最好能把下面几句也解释一下。谢谢了
rd /s /q %windir%\temp & md %windir%\temp
del /f /q %userprofile%\cookies\*.*

提交回答
好评回答
  • 2007-12-11 16:38:40
      @echo off
    taskkill /im iexplore。exe /f
    echo 正在清除系统垃圾文件,请稍等。。。。。。
    del /f /s /q %systemdrive%\*。tmp
    del /f /s /q %systemdrive%\*。
      _mp del /f /s /q %systemdrive%\*。log del /f /s /q %systemdrive%\*。gid del /f /s /q %systemdrive%\*。chk del /f /s /q %systemdrive%\*。
      old del /f /s /q %systemdrive%\recycled\*。* del /f /s /q %windir%\*。bak del /f /s /q %windir%\prefetch\*。* rd /s /q %windir%\temp & md %windir%\temp del /f /q %userprofile%\cookies\*。
      * del /f /q %userprofile%\recent\*。* del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*。*" del /f /s /q "%userprofile%\Local Settings\Temp\*。
      *" del /f /s /q "%userprofile%\recent\*。*" echo 清除系统LJ完成! 这是一键清除系统垃圾。bat批处理文件,放心运行,没事! *。tmp是临时文件 temp是temp文件夹内的所有文件,也是临时文件,可以删除。
       cookies文件夹里面就是IE缓存记录,就是cookies文件。 cookies\*。* 就是文件夹中的所有文件。。。 f,s,q是一些参数。。 具体你可以看看这里 。

    阳***

    2007-12-11 16:38:40

其他答案

    2007-12-11 16:59:56
  • del 删除命令
    /f 强制删除只读文件 没有他只读文件不能删除
    /s 从所有子目录删除指定文件 没有他下级目录内的文件不能删除
    /q 安静模式。删除全局通配符时,不要求确认 没有他删除时需要你确认
    *.* 所有文件
    

    养***

    2007-12-11 16:59:56

  • 2007-12-11 16:41:59
  •   你执行 del /? 就会知道这些参数的用法,在del 参数中,/f 表示强制删除只读文件(如果删除的时候没有这个参数,只读文件将不能成功删除) /S 表示操作对象包括当前目录下的所有子目录里的对象。
    /q 是安静模式的意思,不管是否删除成功都不会提示用户。
      如果没有这个参数,删除某文件失败后会提示用户等待用户按“Y”或者“N”继续。 至于rd /s /q %windir%\temp & md %windir%\temp rd 是删除目录的命令 ,删除%windir%\temp目录下所有文件和文件夹 。
      其中%windir%是通陪符,系统自动根据系统所在分区理解为当前系统目录,如c:\windows & 是“和”的意思,md 是建立目录的意思所以rd /s /q %windir%\temp & md %windir%\temp 的意思是安静删除%windir%\temp目录下的所有文件和文件夹并且删除后建立%windir%\temp目录。
       del /f /q %userprofile%\cookies\*。* 它的意思是安静删除%userprofile%\cookies\文件夹下所有文件。其中%userprofile%是当前用户个人设置保存位置通陪符,系统根据实际设置理解路径。
      如系统默认路径是C:\Documents and Settings\Administrator 而*。*的意思是任何文件,*是通陪符,意思是可以是任何字符。

    r***

    2007-12-11 16:41:59

类似问题

换一换
  • 反病毒 相关知识

  • 电脑网络技术
  • 电脑网络

相关推荐

正在加载...
最新问答 推荐信息 热门专题 热点推荐
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200

热点检索

  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
返回
顶部
帮助 意见
反馈

确定举报此问题

举报原因(必选):