반응형

windows 3

Windows 재귀 GREP 명령줄

Windows 재귀 GREP 명령줄 Windows 에서는 재귀적인 grep 를 실행할 필요가 있습니다.유닉스/Linux 에서는 다음과 같습니다. grep -i 'string' `find . -print` 또는 보다 정확한 방법: find . -print | xargs grep -i 'string' cmd.exe에만 의존하기 때문에 Windows에 내장된 명령어밖에 없습니다.안타깝게도 이 서버에 Cygwin이나 UnxUtils와 같은 서드파티 도구를 설치할 수 없습니다.PowerShell을 설치할 수 있는지도 잘 모르겠습니다.내장 cmd.exe만 사용하는 방법(Windows 2003 Server)이 있습니까?findstr는 재귀 검색(/S)을 실행할 수 있으며 정규식 구문(/R)의 일부 변형을 지원합니다...

source 2023.04.22

Windows 의 빌트인 기능만을 사용해 스크립트를 압축 또는 압축 해제하려면 어떻게 해야 합니까?

Windows 의 빌트인 기능만을 사용해 스크립트를 압축 또는 압축 해제하려면 어떻게 해야 합니까? Windows 에서는, 다음의 방법으로 파일을 압축할 수 있습니다. → Send to → Compressed(zip 압축) 폴더를 마우스 오른쪽 버튼으로 클릭합니다. 그리고 두 번 클릭하여 압축을 푼다..zip파일을 정리하고 압축을 풉니다. 서드파티 소프트웨어를 설치할 필요 없이 스크립트(.bat 파일)에서 이러한 기능을 적용할 수 있는 방법이 있습니까?Penny의 솔루션을 하려면 Steven Penny의 PowerShell을 호출하여 할 수 .powershell.exe음음음같 뭇매하다 powershell.exe -nologo -noprofile -command "& { Add-Type -A 'System..

source 2023.04.12

Windows의 Postgresql 구성 파일 'postgresql.conf'는 어디에 있습니까?

Windows의 Postgresql 구성 파일 'postgresql.conf'는 어디에 있습니까? 이 메시지를 수신하고 있습니다만, 이 메시지를 찾을 수 없습니다.postgresql.conf파일: OperationalError: could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "???" and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "???" and accepting TCP..

source 2023.04.12
반응형