cmd

cx_freeze doesn't get installed in python 3.8.0

做~自己de王妃 提交于 2020-03-06 09:52:10
问题 I'm trying to install cx_freeze to convert my python code into an executable. But it always shows the error below. I looked into the problem and found that I should downgrade my python version because there is no cx_freeze that supports Python 3.8. NOTE It turns out that cx_freeze installation on Python 3.8 is possible if you download the development version directly from Git. Using cached https://files.pythonhosted.org/packages/14/74

Command for dropping a specific MySQL database [closed]

跟風遠走 提交于 2020-03-06 09:28:08
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last month . In phpmyadmin, we can drop a specific database from operation tab and by hitting "DROP THE DATABASE (DROP)". But I need to drop a specific database using command prompt or terminal. 回答1: Use mysqladmin like mysqladmin -uroot -pyourpassword drop database_name In this case User: root with password: yourpassword

Command for dropping a specific MySQL database [closed]

*爱你&永不变心* 提交于 2020-03-06 09:27:13
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last month . In phpmyadmin, we can drop a specific database from operation tab and by hitting "DROP THE DATABASE (DROP)". But I need to drop a specific database using command prompt or terminal. 回答1: Use mysqladmin like mysqladmin -uroot -pyourpassword drop database_name In this case User: root with password: yourpassword

Play music file using Batch?

二次信任 提交于 2020-03-06 02:42:09
问题 I am very confused as to how one would go about this. I want to use Batch to start an .mp3 file and while typing start file.mp3 plays the file, it opens the Media Player to do so. How would I play a music file in the background, but also have the ability to stop it whenever I please? 回答1: Windows Media Player with all its bells and whistles is not suitable for noninteractive listening. Use older version instead, which opens just a small window with a few necessary controls, plays the file and

Play music file using Batch?

邮差的信 提交于 2020-03-06 02:41:27
问题 I am very confused as to how one would go about this. I want to use Batch to start an .mp3 file and while typing start file.mp3 plays the file, it opens the Media Player to do so. How would I play a music file in the background, but also have the ability to stop it whenever I please? 回答1: Windows Media Player with all its bells and whistles is not suitable for noninteractive listening. Use older version instead, which opens just a small window with a few necessary controls, plays the file and

Play music file using Batch?

本秂侑毒 提交于 2020-03-06 02:41:11
问题 I am very confused as to how one would go about this. I want to use Batch to start an .mp3 file and while typing start file.mp3 plays the file, it opens the Media Player to do so. How would I play a music file in the background, but also have the ability to stop it whenever I please? 回答1: Windows Media Player with all its bells and whistles is not suitable for noninteractive listening. Use older version instead, which opens just a small window with a few necessary controls, plays the file and

Output in Reverse in CMD

亡梦爱人 提交于 2020-03-04 16:38:27
问题 I have a phrase that needs to be outputted in results.txt. The phrase comes from x.txt. For example: "I have two kids", it should output "kids two have I" in results.txt. UPDATE Its already working but i want no loop. Pls see code below Code @ECHO OFF set /p content=<x.txt SET var=!content: =,! SET rev= :LOOP IF NOT "!var!"=="" ( FOR /F "delims=, tokens=1,*" %%F IN ("!var!") DO ( SET rev=%%F,!rev! SET var=%%G ) ) ELSE ( SET rev=!rev:~0,-1! GOTO ENDLOOP ) GOTO LOOP :ENDLOOP ECHO !rev:,= ! >

Export multiple apk for different market using ant

心已入冬 提交于 2020-03-04 04:57:31
问题 My Android app is targeted to 20+ market, each with several different properties in the Manifest.xml. To release 20+ apk one after another is really time-consuming, and I tried to use the windows batch file to do the release job in a single click. For now, I use the solution provided by the tutorial here to change the field in the Manifest.xml, but I don't know ant well, so I use a very hack method to do the job in batch file like below: start cmd.exe /c "ant config-google-play release_mine"

Win下使用CMD查看端口占用

泪湿孤枕 提交于 2020-03-03 09:43:04
首先使用 Win+R 然后输入 cmd 回车 打开 cmd界面 所有端口占用情况输入 : netstat -ano 查看指定的端口(如:8080)占用情况输入 : netstat -aon|findstr "8080" 结束某个进程(如:1234)输入 : tskill 1234 注:1234是进程的PID,使用上面的查看命令的时候会看到 Ubuntu下查找占用端口的进程:sudo lsof -i:8080 来源: oschina 链接: https://my.oschina.net/u/2370543/blog/417342

更改cmd代码页,修正中文显示

荒凉一梦 提交于 2020-02-29 11:46:31
执行以下相应的命令: rem 英文 chcp 437 rem 日文 chcp 932 rem 简体中文 chcp 936 rem 韩文 chcp 949 rem 繁体中文 chcp 950 rem utf-8 chcp 65001 如果cmd的默认代码页属性修改不了,那么修改注册表: 1 win键+R打开“运行”对话框,输入regedit打开注册表编辑器。 2 找到 [HKEY_CURRENT_USER\Console\%SystemRoot%_system32_cmd.exe] 3 修改"CodePage"=dword:000003a8 【注】十六进制"000003a8"或十进制"936",表示“936 (ANSI/OEM - 简体中文 GBK)”。 如果代码页改成65001之后,仍无法正常显示UTF-8字符,则需要改变字体属性: 在命令行标题栏上点击右键,选择 "属性"->"字体" ,将字体修改为True Type字体" Lucida Console ",然后点击确定将属性应用到当前窗口。 通过以上操作并不能完全解决问题,因为显示出来的内容有可能不完全。可以先最小化,然后最大化命令行窗口,文件的内容就完整的显示出来了。 -------- -------- -------- -------- -------- -------- -------- -------- --------