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
    • 最新
    • 标签
主页 / user-1089181

Elisha Habinsky's questions

Martin Hope
Elisha Habinsky
Asked: 2020-01-03 17:58:54 +0800 CST

在 CMD 中添加空格以选择字符串时加入行并不总是有效

  • 8

这是一个普通的 .bat ,它连接所有行并在结果字符串之间留下一个空格。

@echo off
setlocal EnableDelayedExpansion
set row=
@For /F "EOL=|" %%x In ('^""%__AppDir__%find.exe" "."^<"%userprofile%\i.txt"^"') Do @Set "row=!row! %%x"
echo %row% >%userprofile%\o.txt
echo %row%

这是该脚本的测试输入:

PDF

wikkipedia.ord
notavalidURL
snapfish.com
.tunnelbear.com
mail.google.com/mail/u/0/#inbox

它输出,完全可以预见:

wikkipedia.ord snapfish.com .tunnelbear.com mail.google.com/mail/u/0/#inbox!

但这是另一个行为方式不同的输入:

PDF
Tech
TORONTO
>
SOME PERSON
Some Company
BusinessName

User Name
Users
Default User
Default Filter Profile
Web Exceptions
BackWeb Exceptions
Applied URL Lists
Attach List
Individual Exceptions
Applied individually to User and can be modified

Individual List32 URLs
BBC Weather

Shared ListTechloq7 URLs
Bing Search
Allows "bing" search

Shared ListTechloq45 URLs
Business Essential Sites
pre-approved business sites, (from reference, Technology, File sharing, shopping etc).

Shared ListTechloq167 URLs
Email [Gmail]
Allow Gmail Yahoo and AOL mail.

Shared ListTechloq77 URLs
Google Drive

Shared ListTechloq35 URLs
Google hangouts

Shared ListTechloq8 URLs
Google Maps

Shared ListTechloq33 URLs
Google Photos

Shared ListTechloq5 URLs
Jewish Music

Shared ListTechloq89 URLs
Jewish Websites
Allows all jewish websites.

Shared ListTechloq1183 URLs
Microsoft [and google] Office blacklist
Blocks in app browsing for Microsoft apps [office 365, start menu etc.] and for google docs.

Shared ListTechloq18 URLs
Microsoft Classroom

Shared ListTechloq25 URLs
Microsoft maps app
Allows the Microsoft map app

Shared ListTechloq1 URLs
Microsoft Online

Shared ListTechloq27 URLs
Microsoft Teams

Shared ListTechloq28 URLs
Mostlymusic.com

Shared ListTechloq17 URLs
Office Activate
Activate Microsoft office

Shared ListTechloq7 URLs
Religious Blacklist
Blocks ëôéøä websites.

Shared ListTechloq23 URLs
Techloq Global List
For back end and content servers [recaptcha etc.]

Shared ListTechloq261 URLs
Torah Websites

Shared ListTechloq115 URLs
Windows Store blacklist

Shared ListTechloq12 URLs
Windows Update
You might need to add .microsoft.com to the ssl list.

Shared ListTechloq16 URLs
Yahoo Search
Allows Yahoo search

Shared ListTechloq42 URLs
Individual Exceptions
Applied individually to User and can be modified

Individual ListLast changed Dec 26, 2019 09:35 AM
URLs Included
Access  
Offensive Text Filter
Images Filter
Video Blocking
Type URL and press Enter
On
On
On
wikkipedia.ord
Time left 13d 34m
Go to Temporary Access
youtubedownload.video
On
On
Off
.slack.com
Off
Off
Off
slack.com
Off
Off
Off
snapfish.com
On
Off
On
.tunnelbear.com
On
On
Off
mail.google.com/mail/u/0/#inbox
On
Off
Off
google.com/url?q=https://connect.cloudberrylab.com?i%3D448781782&source=gmail&ust=1573146628917000&usg=AFQjCNF14Y-dux0_bNSOc-jOfjLgHy-3fw
On
On
On
connect.cloudberrylab.com?i=448781782
On
Off
Off
golantelecom.co.il
On
On
Off
msn.com
citibank.com
On
On
Off
youtube.com/watch?v=TsBcex3M2Xo&list=RDTsBcex3M2Xo&start_radio=1&t=0
On
Off
Off
youtube.com/watch?v=TsBcex3M2Xo&list=PL8CN8XjdSyu0TdNKo9U9sF1RL7NB3_0mh
On
Off
Off
ontimestudios.com
On
Off
Off
ontimerovideo.com
On
Off
Off
badchen.com
On
Off
Off
ebay.com/
On
On
On
offshorecompany.com
On
On
On
offshorecompany.com/company/israel-llc/
On
On
On
wikipedia.org
On
On
On
ravkavonline.co.il
On
On
On
tunnelbear.com
On
On
On
citiprivatepass.com
On
On
On
docs.google.com
On
On
On
play.google.com
On
On
On
myjewishcolorado.org
On
On
On
hillelacademyofdenver.com/
On
On
On
wikkipedia.com
On
On
On
productforums.google.com
On
On
On
ultrasurf.us
On
On
On
stackoverflow.com
On
On
On
tutorialpoint.com
On
On
On
Dec 29, 2019 12:23 AM

它会输出一些相当烦人的东西:

 pre-approved business sites, (from reference, Technology, File sharing, shopping etc). Allow Gmail Yahoo and AOL mail. Allows all jewish websites. Blocks in app browsing for Microsoft apps [office 365, start menu etc.] and for google docs. Mostlymusic.com Blocks δ⌠Θ°Σ websites. For back end and content servers [recaptcha etc.] You might need to add .microsoft.com to the ssl list. wikkipedia.ord youtubedownload.video .slack.com slack.com snapfish.com .tunnelbear.com mail.google.com/mail/u/0/#inbox google.com/url?q=https://connect.cloudberrylab.com?i%3D448781782
'source' is not recognized as an internal or external command,
operable program or batch file.
'ust' is not recognized as an internal or external command,
operable program or batch file.
'usg' is not recognized as an internal or external command,
operable program or batch file.
'list' is not recognized as an internal or external command,
operable program or batch file.
'start_radio' is not recognized as an internal or external command,
operable program or batch file.
'1' is not recognized as an internal or external command,
operable program or batch file.
'list' is not recognized as an internal or external command,
operable program or batch file.

为什么这个字符串不同,我如何更改我的 .bat 以获得与第一次尝试相同类型的输出?

以下是似乎与错误相关的刺痛:

'source' is not recognized as an internal or external command
operable program or batch file.
google.com/url?q=https://connect.cloudberrylab.com?i%3D448781782&source=gmail&ust=1573146628917000&usg=AFQjCNF14Y-dux0_bNSOc-jOfjLgHy-3fw

'ust' is not recognized as an internal or external command
operable program or batch file.
google.com/url?q=https://connect.cloudberrylab.com?i%3D448781782&source=gmail&ust=1573146628917000&usg=AFQjCNF14Y-dux0_bNSOc-jOfjLgHy-3fw
'usg' is not recognized as an internal or external command
operable program or batch file.
google.com/url?q=https://connect.cloudberrylab.com?i%3D448781782&source=gmail&ust=1573146628917000&usg=AFQjCNF14Y-dux0_bNSOc-jOfjLgHy-3fw
'list' is not recognized as an internal or external command,
operable program or batch file.
youtube.com/watch?v=TsBcex3M2Xo&list=RDTsBcex3M2Xo&start_radio=1&t=0
'start_radio' is not recognized as an internal or external command,
operable program or batch file.

youtube.com/watch?v=TsBcex3M2Xo&list=RDTsBcex3M2Xo&start_radio=1&t=0
'1' is not recognized as an internal or external command,
operable program or batch file.

youtube.com/watch?v=TsBcex3M2Xo&list=RDTsBcex3M2Xo&start_radio=1&t=0
'list' is not recognized as an internal or external command,
operable program or batch file.
youtube.com/watch?v=TsBcex3M2Xo&list=PL8CN8XjdSyu0TdNKo9U9sF1RL7NB3_0mh

查看输出我可以看到所有引发错误的单词都位于一个字符旁边&(如果这对任何人都意味着什么)。

更令人沮丧的是,我专门编写了这段代码,以便处理来自某个网​​站的文本。每次我将该站点的页面复制到记事本并运行我的代码时,都会发生同样的事情,所以在我解决这个问题之前我什么都没有 在此处输入图像描述

我试图避免使用 CMD 以外的任何代码(即 powershell、cygwin、paste.exe)

cmd.exe find-and-replace
  • 1 个回答
  • 150 Views
Martin Hope
Elisha Habinsky
Asked: 2019-12-30 03:07:27 +0800 CST

使用简单的 cmd 命令从 .txt 文件中删除换行符?

  • 10

如何.txt使用简单的 cmd 命令从文件中删除换行符?

  • 这将删除文件:

    findstr "{\r\n}" %USERPROFILE%\Desktop\tt\t.txt %USERPROFILE%\Desktop\tt\t.txt > t.txt
    
  • 而这将添加无用的信息:

    findstr "." %USERPROFILE%\Desktop\tt\t.txt %USERPROFILE%\Desktop\tt\t.txt > t.txt
    
cmd.exe newlines
  • 4 个回答
  • 11055 Views
Martin Hope
Elisha Habinsky
Asked: 2019-11-22 04:40:09 +0800 CST

将使用 macrium 制作的磁盘映像部署到 VMWare

  • 8

我为每个患者求求,我是计算机新手。

我使用 macrium 将桌面备份到磁盘映像。

我想将此映像部署到我的 windows 10 pro 工作站上的 vmware 15.5 工作站。

不用说,macrium 不是一种可以部署到 VMware 的格式。

我尝试将映像安装到 PC 上的卷,但我不知道如何将该卷写入 iso。

我在我的机器上拥有的所有成像工具(我有很多)要么输出和 .img,要么抛出错误:“文件太大”。

有人可以推荐正确的工具或正确的方法来将使用 Macrium 制作的磁盘映像部署到 VMWare 吗?

windows-10 iso-image
  • 1 个回答
  • 2834 Views
Martin Hope
Elisha Habinsky
Asked: 2019-11-21 09:30:57 +0800 CST

仅使用 DISM 创建 C: 分区的 WIM 映像

  • 7

我有一台安装了 Windows 10 Pro 的旧笔记本电脑,我想使用 DISM 制作 C: 驱动器的 .wim,以便可以将其附加到新笔记本电脑的系统分区

我以前从未使用过DISM。如何将旧笔记本电脑中的 C: 卷检索到 .wim?

windows-10 partitioning
  • 2 个回答
  • 3349 Views

Sidebar

Stats

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

    如何减少“vmmem”进程的消耗?

    • 11 个回答
  • Marko Smith

    从 Microsoft Stream 下载视频

    • 4 个回答
  • Marko Smith

    Google Chrome DevTools 无法解析 SourceMap:chrome-extension

    • 6 个回答
  • Marko Smith

    Windows 照片查看器因为内存不足而无法运行?

    • 5 个回答
  • Marko Smith

    支持结束后如何激活 WindowsXP?

    • 6 个回答
  • Marko Smith

    远程桌面间歇性冻结

    • 7 个回答
  • Marko Smith

    子网掩码 /32 是什么意思?

    • 6 个回答
  • Marko Smith

    鼠标指针在 Windows 中按下的箭头键上移动?

    • 1 个回答
  • Marko Smith

    VirtualBox 无法以 VERR_NEM_VM_CREATE_FAILED 启动

    • 8 个回答
  • Marko Smith

    应用程序不会出现在 MacBook 的摄像头和麦克风隐私设置中

    • 5 个回答
  • Martin Hope
    Vickel Firefox 不再允许粘贴到 WhatsApp 网页中? 2023-08-18 05:04:35 +0800 CST
  • Martin Hope
    Saaru Lindestøkke 为什么使用 Python 的 tar 库时 tar.xz 文件比 macOS tar 小 15 倍? 2021-03-14 09:37:48 +0800 CST
  • Martin Hope
    CiaranWelsh 如何减少“vmmem”进程的消耗? 2020-06-10 02:06:58 +0800 CST
  • Martin Hope
    Jim Windows 10 搜索未加载,显示空白窗口 2020-02-06 03:28:26 +0800 CST
  • Martin Hope
    andre_ss6 远程桌面间歇性冻结 2019-09-11 12:56:40 +0800 CST
  • Martin Hope
    Riley Carney 为什么在 URL 后面加一个点会删除登录信息? 2019-08-06 10:59:24 +0800 CST
  • Martin Hope
    zdimension 鼠标指针在 Windows 中按下的箭头键上移动? 2019-08-04 06:39:57 +0800 CST
  • Martin Hope
    jonsca 我所有的 Firefox 附加组件突然被禁用了,我该如何重新启用它们? 2019-05-04 17:58:52 +0800 CST
  • Martin Hope
    MCK 是否可以使用文本创建二维码? 2019-04-02 06:32:14 +0800 CST
  • Martin Hope
    SoniEx2 更改 git init 默认分支名称 2019-04-01 06:16:56 +0800 CST

热门标签

windows-10 linux windows microsoft-excel networking ubuntu worksheet-function bash command-line hard-drive

Explore

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

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve