China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-04 19:42
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Help] Use a BAT file to automatically sync the Sogou Pinyin user dictionary View 743 Replies 3
Original Poster Posted 2007-05-01 21:47 ·  中国 河南 郑州 联通
新手上路
Credits 12
Posts 5
Joined 2007-03-30 10:32
19-year member
UID 83385
Gender Male
Status Offline
I want to write a batch file that can automatically log in to my personal ftp server and automatically upload or download the user-defined dictionary, to back up or update the dictionary on the current machine

Using
@FOR /F "skip=2 tokens=3" %%i in ('REG QUERY HKLM\Software\SogouInput /ve') do @echo %%i
to determine the Sogou Pinyin installation path

I need to take the Phrases.ini file
under that directory
and copy it to my ftp server

How exactly can this be done?
Floor 2 Posted 2007-05-07 08:44 ·  中国 甘肃 张掖 电信
金牌会员
★★★★
Credits 4,103
Posts 1,744
Joined 2006-01-20 13:00
20-year member
UID 49241
Gender Male
From 甘肃.临泽
Status Offline
You already have it working now.
Floor 3 Posted 2007-05-07 19:23 ·  中国 江苏 扬州 中移铁通
初级用户
Credits 90
Posts 32
Joined 2007-01-14 09:19
19-year member
UID 76479
Gender Male
Status Offline
I also thought the OP had gotten it working, so I hurried in to take a look.
Floor 4 Posted 2007-05-27 22:52 ·  中国 河南 郑州 联通
新手上路
Credits 12
Posts 5
Joined 2007-03-30 10:32
19-year member
UID 83385
Gender Male
Status Offline
Although I got the path, I don't know how to do the rest.
Forum Jump: