dos

Launching multiple shell prompts from a single batch file

我的未来我决定 提交于 2020-01-25 02:55:09
问题 I have a set of DOS commands that I need to run in different shell instances. Is there a single batch file I can write that would set of multiple cmd instances and execute the set of DOS commands in each of the prompts? 回答1: Your question seems to boil down to how to run a different series of commands in each instance of cmd.exe without having multiple command files. There's a reasonably straightforward way of doing this. The idea is to run the same command file in each instance of cmd.exe,

DOS远程桌面连接命令[佚名]

时光怂恿深爱的人放手 提交于 2020-01-24 10:01:48
DOS远程桌面连接命令 mstsc /v: 192.168.1.250 /console cmd 运行 command 删除文件 rd 文件名/S 创建文件 MD 文件名 net user admin godmour /add 新建一个用户名为 admin 密码为 godmour 默认为user组成员 net user admin /del 将用户名为admin的用户删除 net user admin /active:no 将用户admin禁用 net user admin /active:yes 将用户admin激活 net user admin 查看拥护admin用户的情况 net localgroup administratros admin /add 提升用户权限 net view \IP 查看远程主机共享资源 net use x:\IP\sharename 远程影射本地盘符 Z (建立连接 net use \IP\IPC$”password” /user:”name”) net user admin godmour 把admin的密码修改成 godmour net start servername 启动 telnet 服务 net start servername 停止 telnet 服务 运行 输入cmd 回车在命令提示符下输入 for %1 in (%windir%

Close a running application from DOS command line

烈酒焚心 提交于 2020-01-24 02:16:07
问题 The start command can launch an application like notepad in a batch file like this: start notepad start "my love.mp3" But how do I close the running application from the command line? I found taskkill in my searches but I don't think that is the right command because it's not working—it says no such file. How do I close an application launched with start ? 回答1: Taskkill is correct. But you must kill the process playing the file, not the file itself. Figuring out the registered handler for mp3

Tomcat 9 与JDK 8 的安装与配置

牧云@^-^@ 提交于 2020-01-23 23:54:16
Tomcat 9的安装与配置 解压压缩包,我的解压路径是: D:\Program Files\Java 注意:这里tomcat压缩包不能解压到C盘,否则会因为C盘文件夹访问权限授权问题,没法解决后面出现的DOS窗口乱码,并且无法访问 http://localhost:8080/ 压缩包下载地址: https://www.jianguoyun.com/p/DQsHS8UQ6LnsBxiQpM4C 设置环境变量: win+R → 输入:sysdm.cpl → 高级 → 环境变量 → 系统变量 → 新建 变量名:CATALINA_HOME 变量值:点击 浏览目录 选择第一步中解压缩的路径 找到系统变量里面的 Path 变量,编辑 → 新建 → 输入: %CATALINA_HOME%\bin → 确定 JDK 8的安装与配置 双击图标 → 下一步 → 下一步 → 下一步 → 关闭 JDK 8U131下载地址: https://www.jianguoyun.com/p/DaIMZZ8Q6LnsBxiQsM4C 设置环境变量: win+R → 输入:sysdm.cpl → 高级 → 环境变量 → 系统变量 → 新建 变量名:JAVA_HOME 变量值:C:\Program Files\Java\jdk1.8.0_131 找到系统变量里面的 Path 变量,编辑 → 新建 → 输入: %JAVA

DOS的一些常用命令

懵懂的女人 提交于 2020-01-23 06:46:38
原文发布时间为:2011-02-12 —— 来源于本人的百度文章 [由搬家工具导入] DOS远程桌面连接命令 mstsc /v: 192.168.1.250 /console cmd 运行 command 删除文件 rd 文件名/S 创建文件 MD 文件名 1. net user admin godmour /add 新建一个用户名为 admin 密码为 godmour 默认为user组成员 2. net user admin /del 将用户名为admin的用户删除 3. net user admin /active:no 将用户admin禁用 4. net user admin /active:yes 将用户admin激活 5. net user admin 查看拥护admin用户的情况 6. net localgroup administratros admin /add 提升用户权限 7. net view \\IP 查看远程主机共享资源 8. net use x:\\IP\sharename 远程影射本地盘符 Z (建立连接 net use \\IP\IPC$"password " /user:"name") 9. net user admin godmour 把admin的密码修改成 godmour 10. net start servername 启动 telnet

Creating a batch file to identify the active Internet connection

人盡茶涼 提交于 2020-01-23 03:17:24
问题 Im trying to write a batch file which will allow a user to select their active Internet connection if there is more than one from a list generated by the netsh command and then change the DNS settings. However I can't figure out how to use the choice command when the number of options are known until the script is executed. Without the use of arrays, I have tried to create a string variable 'choices' to hold the string representing the numerical choices and pass it to the choices command, but

Mode X in Assembly x86-16, Why plane 1 is not printing and all the other planes are not in the correct order?

我与影子孤独终老i 提交于 2020-01-23 00:35:45
问题 I am writing in TASM 3.0 on DosBox 0.74 and I am trying to write in Mode x (Tweaked 13h, unchained mode 13), but how you can see on the image, it's not creating the quite right. It seems that plane 1 (second plane) is not printing at all, and all the others are not in the right order. I know that the code that I will show you is slow and is not productive, but I want to make it work then clean up the code. proc showBMP push cx mov ax, 0A000h mov es, ax mov cx, [BMPHeight] mov ax, [BMPWidth]

Mode X in Assembly x86-16, Why plane 1 is not printing and all the other planes are not in the correct order?

本小妞迷上赌 提交于 2020-01-23 00:35:09
问题 I am writing in TASM 3.0 on DosBox 0.74 and I am trying to write in Mode x (Tweaked 13h, unchained mode 13), but how you can see on the image, it's not creating the quite right. It seems that plane 1 (second plane) is not printing at all, and all the others are not in the right order. I know that the code that I will show you is slow and is not productive, but I want to make it work then clean up the code. proc showBMP push cx mov ax, 0A000h mov es, ax mov cx, [BMPHeight] mov ax, [BMPWidth]

Metasploit windows安装和使用

你离开我真会死。 提交于 2020-01-22 19:08:10
1.软件下载 http://downloads.metasploit.com/data/releases/metasploit-latest-windows-installer.exe https://pan.baidu.com/s/1VBnAiqJEk4GO-zRYnmO_RQ 2.安装 注意:安装时关闭杀毒软件和防火墙 3.安装完后就直接在安装目录打开msfconsole.bat 中间过程可能有点慢不要着急,稍微等一会就能打开了。 简单使用举例:tcp syn攻击 进入目录msf5 > use auxiliary/dos/tcp/synflood 根据实际情况设置ip和端口以及一些其他信息,设置完直接run就可以了 来源: CSDN 作者: NewSunRise 链接: https://blog.csdn.net/ak66366/article/details/104071546

电脑知识:DOS命令使用

五迷三道 提交于 2020-01-22 12:42:21
用DOS命令打开IE浏览器 在“start”-运行中直接输入网址就可以了。如输入百度: http://www.baidu.com Command:【 start http://www.baidu.com 】 然后回车确定就可以了。 或者输入命令Command:【 cd C:\Program Files\Internet Explorer\ iexplore.exe http://www.baidu.com或www.baidu.com 】 = 常用命令 =============== Nslookup-------IP地址侦测器 VEMPK-HN6GJ-FP5X5-3E64P-8RV5J explorer-------我的文档 logoff---------注销命令 tsshutdn-------60秒倒计时关机命令 lusrmgr.msc----本机用户和组 services.msc—本地服务设置 oobe/msoobe /a----检查XP是否激活 notepad--------打开记事本 cleanmgr-------垃圾整理 net start messenger----开始信使服务 compmgmt.msc—计算机管理 net stop messenger-----停止信使服务 conf-----------启动 netmeeting dvdplay-------