Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
39857443
Commit
39857443
authored
Sep 03, 2006
by
Dan Kegel
Committed by
Alexandre Julliard
Sep 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
programs/wcmd: Rename to programs/cmd.
parent
4f28f796
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
39 additions
and
42 deletions
+39
-42
configure
configure
+0
-0
configure.ac
configure.ac
+1
-1
process.c
dlls/msvcrt/process.c
+1
-1
PACKAGING
documentation/PACKAGING
+1
-2
.gitignore
programs/.gitignore
+1
-1
Makefile.in
programs/Makefile.in
+2
-3
Cs.rc
programs/cmd/Cs.rc
+0
-0
De.rc
programs/cmd/De.rc
+0
-0
En.rc
programs/cmd/En.rc
+13
-13
Es.rc
programs/cmd/Es.rc
+0
-0
Fr.rc
programs/cmd/Fr.rc
+0
-0
Ja.rc
programs/cmd/Ja.rc
+0
-0
Ko.rc
programs/cmd/Ko.rc
+0
-0
Makefile.in
programs/cmd/Makefile.in
+1
-1
Nl.rc
programs/cmd/Nl.rc
+0
-0
No.rc
programs/cmd/No.rc
+0
-0
Pl.rc
programs/cmd/Pl.rc
+0
-0
Pt.rc
programs/cmd/Pt.rc
+0
-0
README
programs/cmd/README
+5
-5
Ru.rc
programs/cmd/Ru.rc
+0
-0
Si.rc
programs/cmd/Si.rc
+0
-0
Tr.rc
programs/cmd/Tr.rc
+0
-0
batch.c
programs/cmd/batch.c
+1
-1
builtins.c
programs/cmd/builtins.c
+1
-1
directory.c
programs/cmd/directory.c
+1
-1
wcmd.h
programs/cmd/wcmd.h
+1
-1
wcmdmain.c
programs/cmd/wcmdmain.c
+4
-4
wcmdrc.rc
programs/cmd/wcmdrc.rc
+0
-0
make_progs
programs/make_progs
+2
-3
wine.inf
tools/wine.inf
+4
-4
No files found.
configure
View file @
39857443
This diff is collapsed.
Click to expand it.
configure.ac
View file @
39857443
...
@@ -1756,6 +1756,7 @@ libs/wpp/Makefile
...
@@ -1756,6 +1756,7 @@ libs/wpp/Makefile
loader/Makefile
loader/Makefile
programs/Makefile
programs/Makefile
programs/clock/Makefile
programs/clock/Makefile
programs/cmd/Makefile
programs/cmdlgtst/Makefile
programs/cmdlgtst/Makefile
programs/control/Makefile
programs/control/Makefile
programs/eject/Makefile
programs/eject/Makefile
...
@@ -1776,7 +1777,6 @@ programs/start/Makefile
...
@@ -1776,7 +1777,6 @@ programs/start/Makefile
programs/taskmgr/Makefile
programs/taskmgr/Makefile
programs/uninstaller/Makefile
programs/uninstaller/Makefile
programs/view/Makefile
programs/view/Makefile
programs/wcmd/Makefile
programs/wineboot/Makefile
programs/wineboot/Makefile
programs/winebrowser/Makefile
programs/winebrowser/Makefile
programs/winecfg/Makefile
programs/winecfg/Makefile
...
...
dlls/msvcrt/process.c
View file @
39857443
...
@@ -531,7 +531,7 @@ MSVCRT_intptr_t CDECL _spawnvp(int flags, const char* name, const char* const* a
...
@@ -531,7 +531,7 @@ MSVCRT_intptr_t CDECL _spawnvp(int flags, const char* name, const char* const* a
*/
*/
MSVCRT_FILE
*
CDECL
MSVCRT__popen
(
const
char
*
command
,
const
char
*
mode
)
MSVCRT_FILE
*
CDECL
MSVCRT__popen
(
const
char
*
command
,
const
char
*
mode
)
{
{
static
const
char
wcmd
[]
=
"
w
cmd"
,
cmdFlag
[]
=
" /C "
,
comSpec
[]
=
"COMSPEC"
;
static
const
char
wcmd
[]
=
"cmd"
,
cmdFlag
[]
=
" /C "
,
comSpec
[]
=
"COMSPEC"
;
MSVCRT_FILE
*
ret
;
MSVCRT_FILE
*
ret
;
BOOL
readPipe
=
TRUE
;
BOOL
readPipe
=
TRUE
;
int
textmode
,
fds
[
2
],
fdToDup
,
fdToOpen
,
fdStdHandle
=
-
1
,
fdStdErr
=
-
1
;
int
textmode
,
fds
[
2
],
fdToDup
,
fdToOpen
,
fdStdHandle
=
-
1
,
fdStdErr
=
-
1
;
...
...
documentation/PACKAGING
View file @
39857443
...
@@ -197,6 +197,7 @@ WINE COMPONENTS
...
@@ -197,6 +197,7 @@ WINE COMPONENTS
~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~
* Executable Files
* Executable Files
- cmd : Wine's command line interpreter, a cmd.exe replacement.
- notepad : The windows Notepad replacement.
- notepad : The windows Notepad replacement.
- progman : A Program Manager replacement.
- progman : A Program Manager replacement.
- regedit : A graphical tool to edit your registry or for
- regedit : A graphical tool to edit your registry or for
...
@@ -207,7 +208,6 @@ WINE COMPONENTS
...
@@ -207,7 +208,6 @@ WINE COMPONENTS
managing running Windows and Winlib processes.
managing running Windows and Winlib processes.
- uninstaller: A program to uninstall installed Windows programs.
- uninstaller: A program to uninstall installed Windows programs.
Like the Add/Remove Program in the windows control panel.
Like the Add/Remove Program in the windows control panel.
- wcmd : Wine's command line interpreter, a cmd.exe replacement.
- widl : Wine IDL compiler compiles (MS-RPC and DCOM) Interface
- widl : Wine IDL compiler compiles (MS-RPC and DCOM) Interface
Definition Language files.
Definition Language files.
- wine : The main Wine executable. This program will load a Windows
- wine : The main Wine executable. This program will load a Windows
...
@@ -454,7 +454,6 @@ You will need to package the files:
...
@@ -454,7 +454,6 @@ You will need to package the files:
$prefix/bin/regedit
$prefix/bin/regedit
$prefix/bin/rundll32
$prefix/bin/rundll32
$prefix/bin/regsvr32
$prefix/bin/regsvr32
$prefix/bin/wcmd
$prefix/bin/widl
$prefix/bin/widl
$prefix/bin/winhelp
$prefix/bin/winhelp
...
...
programs/.gitignore
View file @
39857443
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
/wineapploader
/wineapploader
/winelauncher
/winelauncher
clock/clock
clock/clock
cmd/cmd
cmdlgtst/cmdlgtst
cmdlgtst/cmdlgtst
control/control
control/control
eject/eject
eject/eject
...
@@ -23,7 +24,6 @@ start/start
...
@@ -23,7 +24,6 @@ start/start
taskmgr/taskmgr
taskmgr/taskmgr
uninstaller/uninstaller
uninstaller/uninstaller
view/view
view/view
wcmd/wcmd
wineboot/wineboot
wineboot/wineboot
winebrowser/winebrowser
winebrowser/winebrowser
winecfg/winecfg
winecfg/winecfg
...
...
programs/Makefile.in
View file @
39857443
...
@@ -7,6 +7,7 @@ VPATH = @srcdir@
...
@@ -7,6 +7,7 @@ VPATH = @srcdir@
SUBDIRS
=
\
SUBDIRS
=
\
clock
\
clock
\
cmd
\
cmdlgtst
\
cmdlgtst
\
control
\
control
\
eject
\
eject
\
...
@@ -27,7 +28,6 @@ SUBDIRS = \
...
@@ -27,7 +28,6 @@ SUBDIRS = \
taskmgr
\
taskmgr
\
uninstaller
\
uninstaller
\
view
\
view
\
wcmd
\
wineboot
\
wineboot
\
winebrowser
\
winebrowser
\
winecfg
\
winecfg
\
...
@@ -46,6 +46,7 @@ SUBDIRS = \
...
@@ -46,6 +46,7 @@ SUBDIRS = \
# Sub-directories to run make install into
# Sub-directories to run make install into
INSTALLSUBDIRS
=
\
INSTALLSUBDIRS
=
\
clock
\
clock
\
cmd
\
control
\
control
\
eject
\
eject
\
expand
\
expand
\
...
@@ -64,7 +65,6 @@ INSTALLSUBDIRS = \
...
@@ -64,7 +65,6 @@ INSTALLSUBDIRS = \
start
\
start
\
taskmgr
\
taskmgr
\
uninstaller
\
uninstaller
\
wcmd
\
wineboot
\
wineboot
\
winebrowser
\
winebrowser
\
winecfg
\
winecfg
\
...
@@ -87,7 +87,6 @@ INSTALLPROGS = \
...
@@ -87,7 +87,6 @@ INSTALLPROGS = \
regedit
\
regedit
\
regsvr32
\
regsvr32
\
uninstaller
\
uninstaller
\
wcmd
\
wineboot
\
wineboot
\
winebrowser
\
winebrowser
\
winecfg
\
winecfg
\
...
...
programs/
w
cmd/Cs.rc
→
programs/cmd/Cs.rc
View file @
39857443
File moved
programs/
w
cmd/De.rc
→
programs/cmd/De.rc
View file @
39857443
File moved
programs/
w
cmd/En.rc
→
programs/cmd/En.rc
View file @
39857443
...
@@ -62,7 +62,7 @@ preceding it with an @ sign.\n"
...
@@ -62,7 +62,7 @@ preceding it with an @ sign.\n"
Syntax: FOR %variable IN (set) DO command\n\
Syntax: FOR %variable IN (set) DO command\n\
\n\
\n\
The requirement to double the % sign when using FOR in a batch file does\n\
The requirement to double the % sign when using FOR in a batch file does\n\
not exist in wcmd.\n"
not exist in w
ine's
cmd.\n"
WCMD_GOTO,
WCMD_GOTO,
"The GOTO command transfers execution to another statement within a\n\
"The GOTO command transfers execution to another statement within a\n\
...
@@ -105,7 +105,7 @@ below the item are moved as well.\n\
...
@@ -105,7 +105,7 @@ below the item are moved as well.\n\
MOVE fails if the old and new locations are on different DOS drive letters.\n"
MOVE fails if the old and new locations are on different DOS drive letters.\n"
WCMD_PATH,
WCMD_PATH,
"PATH displays or changes the
w
cmd search path.\n\
"PATH displays or changes the cmd search path.\n\
\n\
\n\
Entering PATH will display the current PATH setting (initially this is\n\
Entering PATH will display the current PATH setting (initially this is\n\
the value given in your wine.conf file). To change the setting follow the\n\
the value given in your wine.conf file). To change the setting follow the\n\
...
@@ -125,14 +125,14 @@ before it scrolls off the screen.\n"
...
@@ -125,14 +125,14 @@ before it scrolls off the screen.\n"
"PROMPT sets the command-line prompt.\n\
"PROMPT sets the command-line prompt.\n\
\n\
\n\
The string following the PROMPT command (and the space immediately after)\n\
The string following the PROMPT command (and the space immediately after)\n\
appears at the beginning of the line when
w
cmd is waiting for input.\n\
appears at the beginning of the line when cmd is waiting for input.\n\
\n\
\n\
The following character strings have the special meaning shown:\n\
The following character strings have the special meaning shown:\n\
\n\
\n\
$$ Dollar sign $_ Linefeed $b Pipe sign (|)\n\
$$ Dollar sign $_ Linefeed $b Pipe sign (|)\n\
$d Current date $e Escape $g > sign\n\
$d Current date $e Escape $g > sign\n\
$l < sign $n Current drive $p Current path\n\
$l < sign $n Current drive $p Current path\n\
$q Equal sign $t Current time $v
w
cmd version\n\
$q Equal sign $t Current time $v cmd version\n\
\n\
\n\
Note that entering the PROMPT command without a prompt-string resets the\n\
Note that entering the PROMPT command without a prompt-string resets the\n\
prompt to the default, which is the current directory (which includes the\n\
prompt to the default, which is the current directory (which includes the\n\
...
@@ -152,7 +152,7 @@ action, and can therefore be used as a comment in a batch file.\n"
...
@@ -152,7 +152,7 @@ action, and can therefore be used as a comment in a batch file.\n"
WCMD_RMDIR, "Help about RMDIR\n"
WCMD_RMDIR, "Help about RMDIR\n"
WCMD_SET,
WCMD_SET,
"SET displays or changes the
w
cmd environment variables.\n\
"SET displays or changes the cmd environment variables.\n\
\n\
\n\
SET without parameters shows all of the current environment.\n\
SET without parameters shows all of the current environment.\n\
\n\
\n\
...
@@ -167,7 +167,7 @@ have embedded spaces.\n\
...
@@ -167,7 +167,7 @@ have embedded spaces.\n\
Under Wine, the environment of the underlying operating system is\n\
Under Wine, the environment of the underlying operating system is\n\
included into the Win32 environment, there will generally therefore be\n\
included into the Win32 environment, there will generally therefore be\n\
many more values than in a native Win32 implementation. Note that it is\n\
many more values than in a native Win32 implementation. Note that it is\n\
not possible to affect the operating system environment from within
w
cmd.\n"
not possible to affect the operating system environment from within cmd.\n"
WCMD_SHIFT,
WCMD_SHIFT,
"SHIFT is used in a batch file to remove one parameter from the head of\n\
"SHIFT is used in a batch file to remove one parameter from the head of\n\
...
@@ -176,7 +176,7 @@ if called from the command line.\n"
...
@@ -176,7 +176,7 @@ if called from the command line.\n"
WCMD_TIME, "Help about TIME\n"
WCMD_TIME, "Help about TIME\n"
WCMD_TITLE, "Sets the window title for the
w
cmd window, syntax TITLE [string]\n"
WCMD_TITLE, "Sets the window title for the cmd window, syntax TITLE [string]\n"
WCMD_TYPE,
WCMD_TYPE,
"TYPE <filename> copies <filename> to the console device (or elsewhere\n\
"TYPE <filename> copies <filename> to the console device (or elsewhere\n\
...
@@ -192,15 +192,15 @@ VERIFY Displays ON or OFF as appropriate.\n\
...
@@ -192,15 +192,15 @@ VERIFY Displays ON or OFF as appropriate.\n\
The verify flag has no function in Wine.\n"
The verify flag has no function in Wine.\n"
WCMD_VER,
WCMD_VER,
"VER displays the version of
w
cmd you are running\n"
"VER displays the version of cmd you are running\n"
WCMD_VOL, "Help about VOL\n"
WCMD_VOL, "Help about VOL\n"
WCMD_EXIT,
WCMD_EXIT,
"EXIT terminates the current command session and returns\n\
"EXIT terminates the current command session and returns\n\
to the operating system or shell from which you invoked
w
cmd.\n"
to the operating system or shell from which you invoked cmd.\n"
1000, "
W
CMD built-in commands are:\n\
1000, "CMD built-in commands are:\n\
ATTRIB\t\tShow or change DOS file attributes\n\
ATTRIB\t\tShow or change DOS file attributes\n\
CALL\t\tInvoke a batch file from inside another\n\
CALL\t\tInvoke a batch file from inside another\n\
CD (CHDIR)\tChange current default directory\n\
CD (CHDIR)\tChange current default directory\n\
...
@@ -220,10 +220,10 @@ REN (RENAME)\tRename a file\n\
...
@@ -220,10 +220,10 @@ REN (RENAME)\tRename a file\n\
RD (RMDIR)\tDelete a subdirectory\n\
RD (RMDIR)\tDelete a subdirectory\n\
SET\t\tSet or show environment variables\n\
SET\t\tSet or show environment variables\n\
TIME\t\tSet or show the current system time\n\
TIME\t\tSet or show the current system time\n\
TITLE\t\tSet the window title for the
W
CMD session\n\
TITLE\t\tSet the window title for the CMD session\n\
TYPE\t\tType the contents of a text file\n\
TYPE\t\tType the contents of a text file\n\
VER\t\tShow the current version of
W
CMD\n\
VER\t\tShow the current version of CMD\n\
VOL\t\tShow the volume label of a disk device\n\
VOL\t\tShow the volume label of a disk device\n\
EXIT\t\tClose down
W
CMD\n\n\
EXIT\t\tClose down CMD\n\n\
Enter HELP <command> for further information on any of the above commands\n"
Enter HELP <command> for further information on any of the above commands\n"
}
}
programs/
w
cmd/Es.rc
→
programs/cmd/Es.rc
View file @
39857443
File moved
programs/
w
cmd/Fr.rc
→
programs/cmd/Fr.rc
View file @
39857443
File moved
programs/
w
cmd/Ja.rc
→
programs/cmd/Ja.rc
View file @
39857443
File moved
programs/
w
cmd/Ko.rc
→
programs/cmd/Ko.rc
View file @
39857443
File moved
programs/
w
cmd/Makefile.in
→
programs/cmd/Makefile.in
View file @
39857443
...
@@ -2,7 +2,7 @@ TOPSRCDIR = @top_srcdir@
...
@@ -2,7 +2,7 @@ TOPSRCDIR = @top_srcdir@
TOPOBJDIR
=
../..
TOPOBJDIR
=
../..
SRCDIR
=
@srcdir@
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
VPATH
=
@srcdir@
MODULE
=
w
cmd.exe
MODULE
=
cmd.exe
APPMODE
=
-mconsole
APPMODE
=
-mconsole
IMPORTS
=
shell32 user32 kernel32
IMPORTS
=
shell32 user32 kernel32
...
...
programs/
w
cmd/Nl.rc
→
programs/cmd/Nl.rc
View file @
39857443
File moved
programs/
w
cmd/No.rc
→
programs/cmd/No.rc
View file @
39857443
File moved
programs/
w
cmd/Pl.rc
→
programs/cmd/Pl.rc
View file @
39857443
File moved
programs/
w
cmd/Pt.rc
→
programs/cmd/Pt.rc
View file @
39857443
File moved
programs/
w
cmd/README
→
programs/cmd/README
View file @
39857443
W
CMD - A Command-Line Interface for WINE
CMD - A Command-Line Interface for WINE
Copyright (C) 1999 D Pickles (davep@nugate.demon.co.uk)
Copyright (C) 1999 D Pickles (davep@nugate.demon.co.uk)
Open Source software published under the Wine Licence and Warranty.
Open Source software published under the Wine Licence and Warranty.
...
@@ -34,13 +34,13 @@ with an absolute or relative path but no wildcards or partial filenames.
...
@@ -34,13 +34,13 @@ with an absolute or relative path but no wildcards or partial filenames.
- Redirection is implemented as a command line is parsed. This means that ">"
- Redirection is implemented as a command line is parsed. This means that ">"
and "<" symbols cannot appear in command arguments even within quotes.
and "<" symbols cannot appear in command arguments even within quotes.
- In many cases parsing and syntax checking is less rigorous than DOS. Thus an
- In many cases parsing and syntax checking is less rigorous than DOS. Thus an
existing DOS batch file will probably run unchanged under
Wcmd but the reverse
existing DOS batch file will probably run unchanged under
wine's cmd but the
may not be the case.
reverse
may not be the case.
WINE OR WIN32 BINARY?
WINE OR WIN32 BINARY?
W
cmd can be built as a Wine binary, or (using a Win32 compiler) as a Win32 .EXE
cmd can be built as a Wine binary, or (using a Win32 compiler) as a Win32 .EXE
image. The Wine binary is simpler to invoke from the U**x command line or from
image. The Wine binary is simpler to invoke from the U**x command line or from
a GUI such as KDE, however it is not possible to invoke a second shell using the
a GUI such as KDE, however it is not possible to invoke a second shell using the
"
W
CMD /C filename" syntax. Conversely a Win32 application can be invoked from a
"CMD /C filename" syntax. Conversely a Win32 application can be invoked from a
Win32 GUI such as Program Manager but that needs starting under Wine first.
Win32 GUI such as Program Manager but that needs starting under Wine first.
programs/
w
cmd/Ru.rc
→
programs/cmd/Ru.rc
View file @
39857443
File moved
programs/
w
cmd/Si.rc
→
programs/cmd/Si.rc
View file @
39857443
File moved
programs/
w
cmd/Tr.rc
→
programs/cmd/Tr.rc
View file @
39857443
File moved
programs/
w
cmd/batch.c
→
programs/cmd/batch.c
View file @
39857443
/*
/*
*
W
CMD - Wine-compatible command line interface - batch interface.
* CMD - Wine-compatible command line interface - batch interface.
*
*
* Copyright (C) 1999 D A Pickles
* Copyright (C) 1999 D A Pickles
*
*
...
...
programs/
w
cmd/builtins.c
→
programs/cmd/builtins.c
View file @
39857443
/*
/*
*
W
CMD - Wine-compatible command line interface - built-in functions.
* CMD - Wine-compatible command line interface - built-in functions.
*
*
* Copyright (C) 1999 D A Pickles
* Copyright (C) 1999 D A Pickles
*
*
...
...
programs/
w
cmd/directory.c
→
programs/cmd/directory.c
View file @
39857443
/*
/*
*
W
CMD - Wine-compatible command line interface - Directory functions.
* CMD - Wine-compatible command line interface - Directory functions.
*
*
* Copyright (C) 1999 D A Pickles
* Copyright (C) 1999 D A Pickles
*
*
...
...
programs/
w
cmd/wcmd.h
→
programs/cmd/wcmd.h
View file @
39857443
/*
/*
*
W
CMD - Wine-compatible command line interface.
* CMD - Wine-compatible command line interface.
*
*
* Copyright (C) 1999 D A Pickles
* Copyright (C) 1999 D A Pickles
*
*
...
...
programs/
w
cmd/wcmdmain.c
→
programs/cmd/wcmdmain.c
View file @
39857443
/*
/*
*
W
CMD - Wine-compatible command line interface.
* CMD - Wine-compatible command line interface.
*
*
* Copyright (C) 1999 - 2001 D A Pickles
* Copyright (C) 1999 - 2001 D A Pickles
*
*
...
@@ -40,7 +40,7 @@ int echo_mode = 1, verify_mode = 0;
...
@@ -40,7 +40,7 @@ int echo_mode = 1, verify_mode = 0;
static
int
opt_c
,
opt_k
,
opt_s
;
static
int
opt_c
,
opt_k
,
opt_s
;
const
char
nyi
[]
=
"Not Yet Implemented
\n\n
"
;
const
char
nyi
[]
=
"Not Yet Implemented
\n\n
"
;
const
char
newline
[]
=
"
\n
"
;
const
char
newline
[]
=
"
\n
"
;
const
char
version_string
[]
=
"
W
CMD Version "
PACKAGE_VERSION
"
\n\n
"
;
const
char
version_string
[]
=
"CMD Version "
PACKAGE_VERSION
"
\n\n
"
;
const
char
anykey
[]
=
"Press Return key to continue: "
;
const
char
anykey
[]
=
"Press Return key to continue: "
;
char
quals
[
MAX_PATH
],
param1
[
MAX_PATH
],
param2
[
MAX_PATH
];
char
quals
[
MAX_PATH
],
param1
[
MAX_PATH
],
param2
[
MAX_PATH
];
BATCH_CONTEXT
*
context
=
NULL
;
BATCH_CONTEXT
*
context
=
NULL
;
...
@@ -973,7 +973,7 @@ char *p;
...
@@ -973,7 +973,7 @@ char *p;
char
temp_path
[
MAX_PATH
],
temp_file
[
MAX_PATH
],
temp_file2
[
MAX_PATH
],
temp_cmd
[
1024
];
char
temp_path
[
MAX_PATH
],
temp_file
[
MAX_PATH
],
temp_file2
[
MAX_PATH
],
temp_cmd
[
1024
];
GetTempPath
(
sizeof
(
temp_path
),
temp_path
);
GetTempPath
(
sizeof
(
temp_path
),
temp_path
);
GetTempFileName
(
temp_path
,
"
W
CMD"
,
0
,
temp_file
);
GetTempFileName
(
temp_path
,
"CMD"
,
0
,
temp_file
);
p
=
strchr
(
command
,
'|'
);
p
=
strchr
(
command
,
'|'
);
*
p
++
=
'\0'
;
*
p
++
=
'\0'
;
wsprintf
(
temp_cmd
,
"%s > %s"
,
command
,
temp_file
);
wsprintf
(
temp_cmd
,
"%s > %s"
,
command
,
temp_file
);
...
@@ -981,7 +981,7 @@ char temp_path[MAX_PATH], temp_file[MAX_PATH], temp_file2[MAX_PATH], temp_cmd[10
...
@@ -981,7 +981,7 @@ char temp_path[MAX_PATH], temp_file[MAX_PATH], temp_file2[MAX_PATH], temp_cmd[10
command
=
p
;
command
=
p
;
while
((
p
=
strchr
(
command
,
'|'
)))
{
while
((
p
=
strchr
(
command
,
'|'
)))
{
*
p
++
=
'\0'
;
*
p
++
=
'\0'
;
GetTempFileName
(
temp_path
,
"
W
CMD"
,
0
,
temp_file2
);
GetTempFileName
(
temp_path
,
"CMD"
,
0
,
temp_file2
);
wsprintf
(
temp_cmd
,
"%s < %s > %s"
,
command
,
temp_file
,
temp_file2
);
wsprintf
(
temp_cmd
,
"%s < %s > %s"
,
command
,
temp_file
,
temp_file2
);
WCMD_process_command
(
temp_cmd
);
WCMD_process_command
(
temp_cmd
);
DeleteFile
(
temp_file
);
DeleteFile
(
temp_file
);
...
...
programs/
w
cmd/wcmdrc.rc
→
programs/cmd/wcmdrc.rc
View file @
39857443
File moved
programs/make_progs
View file @
39857443
...
@@ -33,7 +33,6 @@ my %bin_install =
...
@@ -33,7 +33,6 @@ my %bin_install =
"regedit"
=>
1
,
"regedit"
=>
1
,
"regsvr32"
=>
1
,
"regsvr32"
=>
1
,
"uninstaller"
=>
1
,
"uninstaller"
=>
1
,
"wcmd"
=>
1
,
"wineboot"
=>
1
,
"wineboot"
=>
1
,
"winebrowser"
=>
1
,
"winebrowser"
=>
1
,
"winecfg"
=>
1
,
"winecfg"
=>
1
,
...
@@ -72,13 +71,13 @@ sub update_file($)
...
@@ -72,13 +71,13 @@ sub update_file($)
if
(
!
-
f
"configure.ac"
&&
-
f
"../configure.ac"
)
{
chdir
(
".."
);
}
if
(
!
-
f
"configure.ac"
&&
-
f
"../configure.ac"
)
{
chdir
(
".."
);
}
my
@args
=
@ARGV
;
my
@args
=
@ARGV
;
if
(
!
@args
)
{
@args
=
split
/\s/
,
`find programs -name Makefile.in -print`
;
}
if
(
!
@args
)
{
@args
=
map
{
s/^(.*)\.in/$1/
;
$_
;
}
split
(
/\s/
,
`find programs -name Makefile.in -print`
)
;
}
foreach
my
$i
(
@args
)
foreach
my
$i
(
@args
)
{
{
my
$module
;
my
$module
;
open
MAKE
,
$i
;
open
MAKE
,
"$i.in"
or
die
"cannot open $i.in\n"
;
$module
=
undef
;
$module
=
undef
;
while
(
<
MAKE
>
)
while
(
<
MAKE
>
)
...
...
tools/wine.inf
View file @
39857443
...
@@ -226,7 +226,7 @@ HKLM,Software\Microsoft\DirectPlay\Service Providers\Serial Connection For Direc
...
@@ -226,7 +226,7 @@ HKLM,Software\Microsoft\DirectPlay\Service Providers\Serial Connection For Direc
HKLM,Software\Microsoft\DirectPlay\Service Providers\Serial Connection For DirectPlay,"Path",,"dpmodemx.dll"
HKLM,Software\Microsoft\DirectPlay\Service Providers\Serial Connection For DirectPlay,"Path",,"dpmodemx.dll"
[Environment]
[Environment]
HKLM,System\CurrentControlSet\Control\Session Manager\Environment,"ComSpec",,"%11%\
w
cmd.exe"
HKLM,System\CurrentControlSet\Control\Session Manager\Environment,"ComSpec",,"%11%\cmd.exe"
HKLM,System\CurrentControlSet\Control\Session Manager\Environment,"PATH",2,"%11%;%10%"
HKLM,System\CurrentControlSet\Control\Session Manager\Environment,"PATH",2,"%11%;%10%"
HKLM,System\CurrentControlSet\Control\Session Manager\Environment,"ProgramFiles",,"%16422%"
HKLM,System\CurrentControlSet\Control\Session Manager\Environment,"ProgramFiles",,"%16422%"
HKLM,System\CurrentControlSet\Control\Session Manager\Environment,"SYSTEMROOT",,"%10%"
HKLM,System\CurrentControlSet\Control\Session Manager\Environment,"SYSTEMROOT",,"%10%"
...
@@ -2124,7 +2124,6 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
...
@@ -2124,7 +2124,6 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
11,,wintrust.dll,1
11,,wintrust.dll,1
[FakeDllsSection]
[FakeDllsSection]
11,,explorer.exe
10,,notepad.exe
10,,notepad.exe
10,,regedit.exe
10,,regedit.exe
10,,rundll32.exe
10,,rundll32.exe
...
@@ -2133,6 +2132,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
...
@@ -2133,6 +2132,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
10,command,start.exe
10,command,start.exe
11,,advapi32.dll
11,,advapi32.dll
11,,advpack.dll
11,,advpack.dll
11,,cmd.exe
11,,comctl32.dll
11,,comctl32.dll
11,,comdlg32.dll
11,,comdlg32.dll
11,,control.exe
11,,control.exe
...
@@ -2140,6 +2140,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
...
@@ -2140,6 +2140,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
11,,d3d8.dll
11,,d3d8.dll
11,,dbghelp.dll
11,,dbghelp.dll
11,,ddraw.dll
11,,ddraw.dll
11,,explorer.exe
11,,gdi32.dll
11,,gdi32.dll
11,,hhctrl.ocx
11,,hhctrl.ocx
11,,imaadp32.acm
11,,imaadp32.acm
...
@@ -2152,10 +2153,10 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
...
@@ -2152,10 +2153,10 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
11,,msvcrt.dll
11,,msvcrt.dll
11,,notepad.exe
11,,notepad.exe
11,,ntdll.dll
11,,ntdll.dll
11,,opengl32.dll
11,,ole32.dll
11,,ole32.dll
11,,oleaut32.dll
11,,oleaut32.dll
11,,olepro32.dll
11,,olepro32.dll
11,,opengl32.dll
11,,progman.exe
11,,progman.exe
11,,regsvr32.exe
11,,regsvr32.exe
11,,riched20.dll
11,,riched20.dll
...
@@ -2168,7 +2169,6 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
...
@@ -2168,7 +2169,6 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
11,,urlmon.dll
11,,urlmon.dll
11,,user32.dll
11,,user32.dll
11,,version.dll
11,,version.dll
11,,wcmd.exe
11,,wininet.dll
11,,wininet.dll
11,,winmm.dll
11,,winmm.dll
11,,winspool.drv
11,,winspool.drv
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment