diff --git a/reactos/base/applications/cmdutils/CMakeLists.txt b/reactos/base/applications/cmdutils/CMakeLists.txt index 473ac1ff13a..3bc67903de1 100644 --- a/reactos/base/applications/cmdutils/CMakeLists.txt +++ b/reactos/base/applications/cmdutils/CMakeLists.txt @@ -10,6 +10,7 @@ add_subdirectory(lodctr) add_subdirectory(mode) add_subdirectory(more) add_subdirectory(reg) +add_subdirectory(schtasks) add_subdirectory(sort) add_subdirectory(taskkill) add_subdirectory(tree) diff --git a/reactos/base/applications/cmdutils/schtasks/CMakeLists.txt b/reactos/base/applications/cmdutils/schtasks/CMakeLists.txt new file mode 100644 index 00000000000..bf79e4c6e94 --- /dev/null +++ b/reactos/base/applications/cmdutils/schtasks/CMakeLists.txt @@ -0,0 +1,6 @@ + +add_executable(schtasks schtasks.c) +target_link_libraries(schtasks wine) +set_module_type(schtasks win32cui UNICODE) +add_importlibs(schtasks msvcrt kernel32 ntdll) +add_cd_file(TARGET schtasks DESTINATION reactos/system32 FOR all) diff --git a/reactos/base/applications/cmdutils/schtasks/schtasks.c b/reactos/base/applications/cmdutils/schtasks/schtasks.c new file mode 100644 index 00000000000..a3af3463ef7 --- /dev/null +++ b/reactos/base/applications/cmdutils/schtasks/schtasks.c @@ -0,0 +1,33 @@ +/* + * Copyright 2012 Detlef Riekenberg + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(schtasks); + +int wmain(int argc, WCHAR *argv[]) +{ + int i; + + WINE_FIXME("stub:"); + for (i = 0; i < argc; i++) + WINE_FIXME(" %s", wine_dbgstr_w(argv[i])); + WINE_FIXME("\n"); + + return 0; +} diff --git a/reactos/media/doc/README.WINE b/reactos/media/doc/README.WINE index f146e1d492e..7b5badcc731 100644 --- a/reactos/media/doc/README.WINE +++ b/reactos/media/doc/README.WINE @@ -231,6 +231,7 @@ ReactOS shares the following programs with Winehq. reactos/base/applications/cmdutils/cscript # Synced to WineStaging-1.9.11 reactos/base/applications/cmdutils/reg # Synced to WineStaging-1.9.11 +reactos/base/applications/cmdutils/schtasks # Synced to WineStaging-1.9.14 reactos/base/applications/cmdutils/taskkill # Synced to WineStaging-1.9.11 reactos/base/applications/cmdutils/wmic # Synced to WineStaging-1.9.11 reactos/base/applications/cmdutils/wscript # Synced to WineStaging-1.9.11