Ipc 创建命名管道时发生Vbscipt错误

Ipc 创建命名管道时发生Vbscipt错误,ipc,pipe,Ipc,Pipe,我不熟悉vbscript,也不熟悉命名管道 这是我的代码: Set fs = CreateObject("Scripting.FileSystemObject") Set a = fs.CreateTextFile("\\.\pipe\tstpipe") a.WriteLine("This is a test.") msgbox "hello" a.Close 错误“未找到文件,第2行” 它无法识别文件夹“pipe”,因为我没有创建任何名为pipe的文件夹。但我认为应该有一个名为pipe的默认

我不熟悉vbscript,也不熟悉命名管道

这是我的代码:

Set fs = CreateObject("Scripting.FileSystemObject")
Set a = fs.CreateTextFile("\\.\pipe\tstpipe")
a.WriteLine("This is a test.")
msgbox "hello"
a.Close
错误“未找到文件,第2行” 它无法识别文件夹“pipe”,因为我没有创建任何名为pipe的文件夹。但我认为应该有一个名为pipe的默认文件夹。我说得对吗? 我是否缺少管道的任何配置?

CreateTextFile(“\。\pipe\tstpipe”,true)