2016-05-24から1日間の記事一覧
ftp.exeをコマンドテキストで実行する事により、一連の処理が実行可能になる 「exec.bat」の内容 ftp -s:cmd.txt「cmd.txt」の内容 open {ftp-address} {userid} {userpassword} ... 命令 ... disconnect bye FTPのアドレスとID/PASSWORDを順に設定すること…
実行プログラムの現在パスを取得する Dim executePath As String() executePath = System.Reflection.Assembly.GetExecutingAssembly().Location.Split("\"c) Dim command As String = "" For i As Integer = 0 To executePath.Length - 2 command += execut…
MSSQLサーバ同士にサーバリンクを作成 リンクサーバーの情報を先に登録 EXEC sp_addlinkedserver @server = 'MY_LINK_DB', --リンクサーバの名前 @srvproduct = '', @provider = 'SQLNCLI', -- プロバイダーの名前 @datasrc = '192.168.1.201'; -- ロケーシ…