AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 905519
Accepted
Alex
Alex
Asked: 2018-04-02 08:56:33 +0800 CST2018-04-02 08:56:33 +0800 CST 2018-04-02 08:56:33 +0800 CST

Windows 命令提示符中文件路径前的@符号是什么意思?

  • 772

我注意到 powershell.exe 使用如下命令行启动 csc.exe:

"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /noconfig /fullpaths @"C:\Windows\TEMP\pn1kld2d.cmdline"

我已经阅读了CSC 手册页,但没有找到任何关于 @ 符号在这里做什么的线索。

有谁知道这个@符号的用途?

windows
  • 1 1 个回答
  • 1908 Views

1 个回答

  • Voted
  1. Best Answer
    JosefZ
    2018-04-02T10:53:52+08:002018-04-02T10:53:52+08:00

    如有疑问,请尝试内置帮助csc.exe /help:

    ==> pushd "C:\Windows\Microsoft.NET\Framework64\v4.0.30319"
    
    ==> csc.exe /? | findstr /I "noconfig fullpaths C# @ (R) help"
    Microsoft (R) Visual C# Compiler version 4.7.2556.0 for C# 5
    This compiler is provided as part of the Microsoft (R) .NET Framework, but only
     supports language versions up to C# 5, which is no longer the latest version.
     For compilers that support newer versions of the C# programming language, see
     http://go.microsoft.com/fwlink/?LinkID=533240
                            Visual C# Compiler Options
    @<file>                        Read response file for more options
    /help                          Display this usage message (Short form: /?)
    /noconfig                      Do not auto include CSC.RSP file
    /fullpaths                     Compiler generates fully qualified paths
    
    ==>
    

    然后,找到csc.exe 响应文件文档:

    @(C# 编译器选项)

    该@选项允许您指定包含编译器选项和要编译的源代码文件的文件。

    语法:@response_file

    参数:response_file列出编译器选项或要编译的源代码文件的文件。

    备注:编译器选项和源代码文件将由编译器处理,就像它们在命令行上指定一样。
    ...

    • 2

相关问题

  • 知道任何适用于 Windows 的快速可编写脚本的 ftp 客户端吗?[关闭]

  • 如果 Windows 服务崩溃,如何自动重新启动它?

  • 无法安排任务(访问被拒绝)

  • 物理机重启时自动重启虚拟机(VMWare)

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve